summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-03-01 16:43:39 +0000
committerschwarze <schwarze@openbsd.org>2016-03-01 16:43:39 +0000
commit09f612eed43f9140caeff7415eafdc295172f52a (patch)
tree9a0e54d0d6462e3a2638f7b3803fb70804bcd073 /usr.bin/diff/diffreg.c
parentCopy the stackgap_init() and stackgap_alloc() functions from (diff)
downloadwireguard-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