From b0d27cb9028cbf552612baa42255737cca0e32d2 Mon Sep 17 00:00:00 2001 From: Scott Deboy Date: Wed, 11 Sep 2013 17:22:00 -0700 Subject: [PATCH] Initialize next_proto in s_server - resolves incorrect attempts to free --- apps/s_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/s_server.c b/apps/s_server.c index 35f30e4d23..9359161758 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1065,7 +1065,7 @@ int MAIN(int argc, char *argv[]) tlsextctx tlsextcbp = {NULL, NULL, SSL_TLSEXT_ERR_ALERT_WARNING}; # ifndef OPENSSL_NO_NEXTPROTONEG const char *next_proto_neg_in = NULL; - tlsextnextprotoctx next_proto; + tlsextnextprotoctx next_proto = { NULL, 0}; const char *alpn_in = NULL; tlsextalpnctx alpn_ctx = { NULL, 0}; # endif -- 2.25.1