projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3edabd3
)
Null pointer used.
author
Pauli
<paul.dale@oracle.com>
Sun, 17 Sep 2017 20:52:13 +0000
(06:52 +1000)
committer
Pauli
<paul.dale@oracle.com>
Sun, 17 Sep 2017 20:52:13 +0000
(06:52 +1000)
Address coverity report of null pointer being dereferenced.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4381)
crypto/ct/ct_log.c
patch
|
blob
|
history
diff --git
a/crypto/ct/ct_log.c
b/crypto/ct/ct_log.c
index ec6fa384d52590787bd884ecc9def8de4e12804f..d442322e26b5ab66a8b038b97f88b4826213b99b 100644
(file)
--- 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)