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:
ff6c7cc
)
Coverity CID 1444951: Null pointer dereferences
author
Pauli
<paul.dale@oracle.com>
Tue, 7 May 2019 01:07:41 +0000
(11:07 +1000)
committer
Pauli
<paul.dale@oracle.com>
Tue, 7 May 2019 23:52:58 +0000
(09:52 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8888)
crypto/ex_data.c
patch
|
blob
|
history
diff --git
a/crypto/ex_data.c
b/crypto/ex_data.c
index 94cae75585cbd66d854dd401016084cc89712605..055420a95df660be4ce5fb472fcfc04acf4d195c 100644
(file)
--- a/
crypto/ex_data.c
+++ b/
crypto/ex_data.c
@@
-152,7
+152,7
@@
int crypto_get_ex_new_index_ex(OPENSSL_CTX *ctx, int class_index, long argl,
OSSL_EX_DATA_GLOBAL *global = openssl_ctx_get_ex_data_global(ctx);
if (global == NULL)
-
goto err
;
+
return -1
;
ip = get_and_lock(ctx, class_index);
if (ip == NULL)