]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix an integer overflow in get_ssh_string.
authorSimon Tatham <anakin@pobox.com>
Wed, 25 Jan 2017 19:47:08 +0000 (19:47 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 28 Jan 2017 14:03:09 +0000 (14:03 +0000)
commit19467455fe7840ab146f47136c88f61c87365e8c
tree8c9019728e5f1d0e7d39b2be74592dc9c0a9239d
parent737cb2d24ea61d49f258b2d5f596f43e5e91ba93
Fix an integer overflow in get_ssh_string.

If the length field in the input data was so large that adding 4 to it
caused wraparound, the error check could fail to trigger. Fortunately,
this praticular get_ssh_string function is only used during private
key import from foreign file formats, so it won't be facing hostile
data.
misc.c