Magellan Linux

Contents of /trunk/openssl/patches/openssl-1.0.0a-fix-double-free.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1083 - (show annotations) (download)
Tue Aug 17 22:17:06 2010 UTC (13 years, 9 months ago) by niro
File size: 252 byte(s)
security fix

1 http://bugs.gentoo.org/332027
2
3 --- ssl/s3_clnt.c
4 +++ ssl/s3_clnt.c
5 @@ -1508,6 +1508,7 @@
6 s->session->sess_cert->peer_ecdh_tmp=ecdh;
7 ecdh=NULL;
8 BN_CTX_free(bn_ctx);
9 + bn_ctx = NULL;
10 EC_POINT_free(srvr_ecpoint);
11 srvr_ecpoint = NULL;
12 }