summaryrefslogtreecommitdiff
path: root/openssl0.9.8/patches/CVE-2010-2939.patch
blob: 2307326ff9c00a43d60ff46a65cc8e6c64449791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Index: openssl-0.9.8o/ssl/s3_clnt.c
===================================================================
--- openssl-0.9.8o.orig/ssl/s3_clnt.c	2010-01-26 19:40:36.000000000 +0000
+++ openssl-0.9.8o/ssl/s3_clnt.c	2010-08-26 16:45:11.000000000 +0000
@@ -1377,6 +1377,7 @@
 		s->session->sess_cert->peer_ecdh_tmp=ecdh;
 		ecdh=NULL;
 		BN_CTX_free(bn_ctx);
+		bn_ctx = NULL;
 		EC_POINT_free(srvr_ecpoint);
 		srvr_ecpoint = NULL;
 		}