From 38c42c6eea4f3d2146e7f86b5399f2121e7c69cd Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 19 May 2011 16:18:25 +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 514f72c97f..d2ecf9b33c 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -1731,6 +1731,7 @@ int ssl3_send_server_key_exchange(SSL *s) (unsigned char *)encodedPoint, encodedlen); OPENSSL_free(encodedPoint); + encodedPoint = NULL; p += encodedlen; } #endif -- 2.25.1