]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
rsa2_pubkey_bits: Cope correctly with a NULL return from rsa2_newkey()
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 9 Oct 2015 23:58:11 +0000 (00:58 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 24 Oct 2015 21:32:59 +0000 (22:32 +0100)
commite170041a5d6ae456527adea6859bc2aa04a5d598
tree22712f94dc43e672c212eb699c5ee79a34d44eb5
parent3a43bec44c870b6c9a0fc1a3aa8207aeb4fd59eb
rsa2_pubkey_bits: Cope correctly with a NULL return from rsa2_newkey()

Dereferencing it is not correct.
Bug found with the help of afl-fuzz.

Conflicts:
sshrsa.c
sshrsa.c