Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libedit



Module Name:    src
Committed By:   christos
Date:           Sat Jun 29 14:09:35 UTC 2024

Modified Files:
        src/lib/libedit: emacs.c

Log Message:
Retrieve the cursor position after calling c_insert, because c_insert could
enlarge the line buffer making the old cursor position point to freed memory.
>From Robert Morris https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279772


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/lib/libedit/emacs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index