Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/vi/vi
Module Name: src
Committed By: aymeric
Date: Fri Jun 6 08:06:47 UTC 2003
Modified Files:
src/usr.bin/vi/vi: v_txt.c
Log Message:
When an error occurs in v_txt(), leave input mode too.
Otherwise, (among other things) db_get() thinks it can re-use the TEXT buffers
when it's not true, leading to a crash because that TEXT buffer will be
released just before it is actually used to create a new one.
This fixes PR#21797.
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/usr.bin/vi/vi/v_txt.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