wok-current diff openssl/stuff/fix-double-free.patch @ rev 11037

slock: Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 07:26:33 2011 +0000 (2011-10-16)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openssl/stuff/fix-double-free.patch	Sun Oct 16 07:26:33 2011 +0000
     1.3 @@ -0,0 +1,10 @@
     1.4 +--- ssl/s3_clnt.c.orig	Sun Feb 28 01:24:24 2010
     1.5 ++++ ssl/s3_clnt.c	Sun Aug  8 14:49:30 2010
     1.6 +@@ -1508,6 +1508,7 @@
     1.7 + 		s->session->sess_cert->peer_ecdh_tmp=ecdh;
     1.8 + 		ecdh=NULL;
     1.9 + 		BN_CTX_free(bn_ctx);
    1.10 ++		bn_ctx = NULL;
    1.11 + 		EC_POINT_free(srvr_ecpoint);
    1.12 + 		srvr_ecpoint = NULL;
    1.13 + 		}