diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2005-01-08 05:18:53 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2005-01-08 05:18:53 +0000 |
commit | 021be0ce4540327d8a286e8cbec726576b34f97f (patch) | |
tree | 5eb9d508c0ea057cd1bb749a01f0fbd0b50b448d /usr.bin/w | |
parent | 23e1909022c06e21addb4a17265e9f2060f9a622 (diff) |
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.
From NetBSD, fixes NetBSD PR#21797.
Diffstat (limited to 'usr.bin/w')
0 files changed, 0 insertions, 0 deletions