[openssl-commits] [openssl] master update

paul.dale at oracle.com paul.dale at oracle.com
Sun Sep 17 22:09:03 UTC 2017


The branch master has been updated
       via  9be34ee5c8576539a929d5b396ad071aed525f43 (commit)
      from  3edabd3ccb7aac89af5a63cfb2378e33a8be05d7 (commit)


- Log -----------------------------------------------------------------
commit 9be34ee5c8576539a929d5b396ad071aed525f43
Author: Pauli <paul.dale at oracle.com>
Date:   Mon Sep 18 06:52:13 2017 +1000

    Null pointer used.
    Address coverity report of null pointer being dereferenced.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4381)

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

Summary of changes:
 crypto/ct/ct_log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/ct/ct_log.c b/crypto/ct/ct_log.c
index ec6fa38..d442322 100644
--- a/crypto/ct/ct_log.c
+++ b/crypto/ct/ct_log.c
@@ -199,7 +199,7 @@ int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file)
     CTLOG_STORE_LOAD_CTX* load_ctx = ctlog_store_load_ctx_new();
 
     if (load_ctx == NULL)
-        goto end;
+        return 0;
     load_ctx->log_store = store;
     load_ctx->conf = NCONF_new(NULL);
     if (load_ctx->conf == NULL)


More information about the openssl-commits mailing list