[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Thu Aug 31 23:23:30 UTC 2017


The branch master has been updated
       via  ccb76685e0dcdeefea11f21f07b06f8faf3656aa (commit)
      from  721614a2b240041f460cfa8473b8dbcde25a3ca6 (commit)


- Log -----------------------------------------------------------------
commit ccb76685e0dcdeefea11f21f07b06f8faf3656aa
Author: Rich Salz <rsalz at openssl.org>
Date:   Thu Aug 31 18:27:06 2017 -0400

    Avoid possible uninitialized variable.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4307)

-----------------------------------------------------------------------

Summary of changes:
 ssl/statem/extensions_clnt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssl/statem/extensions_clnt.c b/ssl/statem/extensions_clnt.c
index 8db895b..d8a9f7c 100644
--- a/ssl/statem/extensions_clnt.c
+++ b/ssl/statem/extensions_clnt.c
@@ -679,7 +679,7 @@ EXT_RETURN tls_construct_ctos_early_data(SSL *s, WPACKET *pkt,
                                          unsigned int context, X509 *x,
                                          size_t chainidx, int *al)
 {
-    const unsigned char *id;
+    const unsigned char *id = NULL;
     size_t idlen = 0;
     SSL_SESSION *psksess = NULL;
     SSL_SESSION *edsess = NULL;


More information about the openssl-commits mailing list