diff options
author | Pauli <paul.dale@oracle.com> | 2017-09-18 06:52:13 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-09-18 06:52:13 +1000 |
commit | 9be34ee5c8576539a929d5b396ad071aed525f43 (patch) | |
tree | 426fd9def7d82693dd420e6ca64a061a4278e6ef /crypto | |
parent | 3edabd3ccb7aac89af5a63cfb2378e33a8be05d7 (diff) | |
download | openssl-9be34ee5c8576539a929d5b396ad071aed525f43.zip openssl-9be34ee5c8576539a929d5b396ad071aed525f43.tar.gz openssl-9be34ee5c8576539a929d5b396ad071aed525f43.tar.bz2 |
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)
Diffstat (limited to 'crypto')
-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 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) |