diff options
author | 2016-03-01 16:43:39 +0000 | |
---|---|---|
committer | 2016-03-01 16:43:39 +0000 | |
commit | 09f612eed43f9140caeff7415eafdc295172f52a (patch) | |
tree | 9a0e54d0d6462e3a2638f7b3803fb70804bcd073 /usr.bin/diff/diffreg.c | |
parent | Copy the stackgap_init() and stackgap_alloc() functions from (diff) | |
download | wireguard-openbsd-09f612eed43f9140caeff7415eafdc295172f52a.tar.xz wireguard-openbsd-09f612eed43f9140caeff7415eafdc295172f52a.zip |
Fix a segfault and functional error in c_gets(),
which is used for extended command input and for vi search mode.
It could be triggered by typing one or more characters, then pressing
backspace once (functional error: the character was deleted from
the screen, but not from the edit buffer) or a few more times than
characters had been entered (segfault).
OK czarkoff@. Also checked by Christos Zoulas.
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions