diff options
author | Pauli <paul.dale@oracle.com> | 2017-09-18 06:52:13 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-09-18 08:13:49 +1000 |
commit | de6db95d7bc9a0f8993d4e125028a02a7ec46e96 (patch) | |
tree | 75ee56ca887a364708f11928e4c3bf455bfaeb05 /crypto/ct | |
parent | af51a74ade8bbab5ed49a3560dcb70d89896dc29 (diff) |
Null pointer used.
Address coverity report of null pointer being dereferenced.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4381)
(cherry picked from commit 9be34ee5c8576539a929d5b396ad071aed525f43)
Diffstat (limited to 'crypto/ct')
-rw-r--r-- | crypto/ct/ct_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ct/ct_log.c b/crypto/ct/ct_log.c index ec6fa384d5..d442322e26 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) |