diff options
author | Scott Deboy <sdeboy@secondstryke.com> | 2013-09-11 17:22:00 -0700 |
---|---|---|
committer | Adam Langley <agl@chromium.org> | 2013-09-13 11:31:39 -0400 |
commit | 8ae78c6bd90d19bfcc4b5854f1b9285d6fdcfa70 (patch) | |
tree | db389484dc2624ae1ac97d9470d81ecd358d3946 /apps/s_server.c | |
parent | cb3cec4adfd0101a64009980735ddbedf4966df6 (diff) |
Initialize next_proto in s_server - resolves incorrect attempts to free
Cherry pick of b0d27cb9028cbf552612baa42255737cca0e32d2.
Diffstat (limited to 'apps/s_server.c')
-rw-r--r-- | apps/s_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 8a5a1376c0..9a22345c21 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1023,7 +1023,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 |