summaryrefslogtreecommitdiff
path: root/openssl0.9.8/patches/CVE-2010-2939.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openssl0.9.8/patches/CVE-2010-2939.patch')
-rw-r--r--openssl0.9.8/patches/CVE-2010-2939.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openssl0.9.8/patches/CVE-2010-2939.patch b/openssl0.9.8/patches/CVE-2010-2939.patch
new file mode 100644
index 0000000..2307326
--- /dev/null
+++ b/openssl0.9.8/patches/CVE-2010-2939.patch
@@ -0,0 +1,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;
+ }