The branch OpenSSL_1_1_0-stable has been updated
       via  de6db95d7bc9a0f8993d4e125028a02a7ec46e96 (commit)
      from  af51a74ade8bbab5ed49a3560dcb70d89896dc29 (commit)


- Log -----------------------------------------------------------------
commit de6db95d7bc9a0f8993d4e125028a02a7ec46e96
Author: Pauli <[email protected]>
Date:   Mon Sep 18 06:52:13 2017 +1000

    Null pointer used.
    Address coverity report of null pointer being dereferenced.
    
    Reviewed-by: Rich Salz <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/4381)
    
    (cherry picked from commit 9be34ee5c8576539a929d5b396ad071aed525f43)

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

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)
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to