simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Tue Nov 13 21:34:12 GMT 2012


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9705
Date:           2012-11-13 21:34:12 +0000 (Tue, 13 Nov 2012)

Log message (5 lines):
When manually initialising a 'struct RSAKey' due to loading an SSH1
public key but not the private half, NULL out all the CRT-optimisation
fields as well as the private exponent pointer. Otherwise segfaults -
security-harmless, but annoying - can happen in freersakey() when we
notice they aren't null and try to free them.

Modified files:
U   putty/cmdgen.c

Links:
http://svn.tartarus.org/sgt/?rev=9705&view=rev
http://svn.tartarus.org/sgt/putty/cmdgen.c?rev=9705&r1=9704&r2=9705



More information about the tartarus-commits mailing list