Module Name: src Committed By: bouyer Date: Tue Sep 7 19:31:14 UTC 2010
Modified Files: src/crypto/dist/openssl/ssl [netbsd-5]: s3_clnt.c Log Message: Pull up following revision(s) (requested by drochner in ticket #1447): 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.12.4.1 -r1.12.4.2 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.12.4.1 src/crypto/dist/openssl/ssl/s3_clnt.c:1.12.4.2 --- src/crypto/dist/openssl/ssl/s3_clnt.c:1.12.4.1 Tue Jan 20 21:28:09 2009 +++ src/crypto/dist/openssl/ssl/s3_clnt.c Tue Sep 7 19:31:14 2010 @@ -1460,6 +1460,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; }