]> 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>
Mon, 29 Feb 2016 19:59:32 +0000 (19:59 +0000)
commitcac650b8a56a362b5fc8f6309ad83734bf6a71e5
treecdd3782dbcf752c2ca1e6036180e11cae346e352
parentc195ff2b4f0e7cae40232ae71fe3100027a29061
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.

(cherry picked from commit 5815d6a65af992881f5462097c9320f3a4716e0c)
misc.c