From 4f7533eb8400e2d7e75da8635edcf869f916ab3c Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 19 May 2011 16:17:47 +0000 Subject: [PATCH] set encodedPoint to NULL after freeing it --- ssl/s3_srvr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 0f203ec6b1..286af3a4db 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -1869,6 +1869,7 @@ int ssl3_send_server_key_exchange(SSL *s) (unsigned char *)encodedPoint, encodedlen); OPENSSL_free(encodedPoint); + encodedPoint = NULL; p += encodedlen; } #endif -- 2.25.1