]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix an erroneous length field in SSH-1 key load.
authorSimon Tatham <anakin@pobox.com>
Thu, 19 Feb 2015 20:05:10 +0000 (20:05 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 28 Feb 2015 07:57:35 +0000 (07:57 +0000)
commit1f757928051b6d6ff231b2265bad2d263b0fe3ea
tree4fd0b583e922148755bc73e78a74b9c9e92d909b
parent174476813f0ed94337aecc3e2d13a202a1dc2fa8
Fix an erroneous length field in SSH-1 key load.

We incremented buf by a few bytes, so we must decrement the
corresponding length by the same amount, or else makekey() could
overrun.

Thanks to Patrick Coleman for the patch.
sshpubk.c