]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Add missing null-pointer checks in key exchange.
authorSimon Tatham <anakin@pobox.com>
Sat, 13 Jun 2015 14:22:03 +0000 (15:22 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 13 Jun 2015 15:01:55 +0000 (16:01 +0100)
Assorted calls to ssh_pkt_getstring in handling the later parts of key
exchange (post-KEXINIT) were not checked for NULL afterwards, so that
a variety of badly formatted key exchange packets would cause a crash
rather than a sensible error message.

None of these is an exploitable vulnerability - the server can only
force a clean null-deref crash, not an access to actually interesting
memory.

Thanks to '3unnym00n' for pointing out one of these, causing me to
find all the rest of them too.


No differences found