From: Simon Tatham Date: Tue, 13 Nov 2012 21:34:12 +0000 (+0000) Subject: When manually initialising a 'struct RSAKey' due to loading an SSH1 X-Git-Tag: 0.63~116 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=06b51312c1ec70e9120c41f7b09f560ebacc6e35;hp=06b51312c1ec70e9120c41f7b09f560ebacc6e35;p=PuTTY.git 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. [originally from svn r9705] ---