openssl/CVE-2010-2939.patch
OBS User autobuild 3b41ce1450 Accepting request 49880 from Base:System
Copy from Base:System/openssl based on submit request 49880 from user coolo

OBS-URL: https://build.opensuse.org/request/show/49880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl?expand=0&rev=42
2010-10-07 19:53:10 +00:00

13 lines
389 B
Diff

Index: openssl-1.0.0/ssl/s3_clnt.c
===================================================================
--- openssl-1.0.0.orig/ssl/s3_clnt.c
+++ openssl-1.0.0/ssl/s3_clnt.c
@@ -1508,6 +1508,7 @@ int ssl3_get_key_exchange(SSL *s)
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;
}