]> 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>
Sat, 24 Oct 2015 21:45:48 +0000 (22:45 +0100)
commitf7365a2d576d82e8796c0ed0e0145ff8b5c2292f
treefe26c7ab3ad118ce0adb8eda6e230eb233d54393
parentc445c745ecef1d00e57b77732bb0928881977149
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