Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 7ac4fa1ea5226ba0c0c9a527c7b4a484 > files > 9

uClibc-openssl-0.9.7g-4mdv2007.1.src.rpm

--- openssl-0.9.7g/crypto/dh/dh_key.c.cve-2006-2940-2	2006-09-29 09:14:30.000000000 -0600
+++ openssl-0.9.7g/crypto/dh/dh_key.c	2006-09-29 09:18:29.000000000 -0600
@@ -159,8 +159,8 @@ err:
 
 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
 	{
-	BN_CTX *ctx;
-	BN_MONT_CTX *mont;
+	BN_CTX *ctx = NULL ;
+	BN_MONT_CTX *mont = NULL;
 	BIGNUM *tmp;
 	int ret= -1;