]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix an out-of-bounds read in fgetline().
authorSimon Tatham <anakin@pobox.com>
Tue, 10 Nov 2015 18:49:09 +0000 (18:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 10 Nov 2015 19:05:49 +0000 (19:05 +0000)
commit5815d6a65af992881f5462097c9320f3a4716e0c
tree41ddc95ef3a652b477620f3fe79372dfa3ecfeda
parentfa7b23ce9025daba08e86bb934fc430099792b9a
Fix an out-of-bounds read in fgetline().

Forgot that a zero-length string might have come back from fgets.

Thanks to Hanno Böck for spotting this, with the aid of AFL.
misc.c