virtualization/dev-libs/openssl/files/openssl-1.0.0a-fix-double-free.patch
geos_one a2e01bb811 add dev libs
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/vmware@2307 6952d904-891a-0410-993b-d76249ca496b
2010-08-20 01:05:36 +00:00

13 lines
252 B
Diff

http://bugs.gentoo.org/332027
--- ssl/s3_clnt.c
+++ ssl/s3_clnt.c
@@ -1508,6 +1508,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;
}