Add some unsigned overflow checks for extra_pad. None of these
authordjm <djm@openbsd.org>
Mon, 18 Jul 2016 06:08:01 +0000 (06:08 +0000)
committerdjm <djm@openbsd.org>
Mon, 18 Jul 2016 06:08:01 +0000 (06:08 +0000)
commit68951b8d4fdd8412df3778ef88a5b3a0389d7a30
tree5a85f22e535088bc9369fa9b3cd6127a55964cef
parent1058c0921e72901d8271db03667103ca2b49cfeb
Add some unsigned overflow checks for extra_pad. None of these
are reachable with the amount of padding that we use internally.
bz#2566, pointed out by Torben Hansen. ok markus@
usr.bin/ssh/packet.c