Module Name: src Committed By: bouyer Date: Tue Oct 12 10:16:26 UTC 2010
Modified Files: src/crypto/dist/openssl/ssl [netbsd-4]: s3_clnt.c Log Message: Pull up following revision(s) (requested by jnemeth in ticket #1408): crypto/external/bsd/openssl/dist/ssl/s3_clnt.c: revision 1.2 via patch fix a double free() in error case, see the thread "openssl-1.0.0a and glibc detected sthg ;)" in openssl-dev. I was getting a SEGV with the example posted there. To generate a diff of this commit: cvs rdiff -u -r1.9.4.2 -r1.9.4.3 src/crypto/dist/openssl/ssl/s3_clnt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/dist/openssl/ssl/s3_clnt.c diff -u src/crypto/dist/openssl/ssl/s3_clnt.c:1.9.4.2 src/crypto/dist/openssl/ssl/s3_clnt.c:1.9.4.3 --- src/crypto/dist/openssl/ssl/s3_clnt.c:1.9.4.2 Sun Jul 5 00:44:27 2009 +++ src/crypto/dist/openssl/ssl/s3_clnt.c Tue Oct 12 10:16:26 2010 @@ -1289,6 +1289,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; }