From: Hugo Landau Date: Thu, 26 Oct 2023 11:47:58 +0000 (+0100) Subject: TLS: Fix use of an uninitialized value X-Git-Tag: openssl-3.3.0-alpha1~680 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f62fec64049959cee6b80043cd697d0e7357a24a;p=thirdparty%2Fopenssl.git TLS: Fix use of an uninitialized value Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/22523) --- diff --git a/ssl/statem/extensions_cust.c b/ssl/statem/extensions_cust.c index 81f20b5f6bd..8b296f1f59d 100644 --- a/ssl/statem/extensions_cust.c +++ b/ssl/statem/extensions_cust.c @@ -115,7 +115,7 @@ int custom_ext_parse(SSL_CONNECTION *s, unsigned int context, const unsigned char *ext_data, size_t ext_size, X509 *x, size_t chainidx) { - int al; + int al = 0; custom_ext_methods *exts = &s->cert->custext; custom_ext_method *meth; ENDPOINT role = ENDPOINT_BOTH;