]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Handle packets with no type byte by returning SSH_MSG_UNIMPLEMENTED.
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 17 Oct 2015 20:00:31 +0000 (21:00 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Wed, 28 Oct 2015 22:08:58 +0000 (22:08 +0000)
commit5471539a6738484b48fb938c88dce547a3e4b299
tree90c9771013b749eead3be660c3aa8bfd648de077
parent1d20c1b396738e66612bbdffda5dcd85b28e5267
Handle packets with no type byte by returning SSH_MSG_UNIMPLEMENTED.

The previous assertion failure is obviously wrong, but RFC 4253 doesn't
explicitly declare them to be a protocol error.  Currently, the incoming
packet isn't logged, which might cause some confusion for log parsers.

Bug found with the help of afl-fuzz.
ssh.c