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:
7e56c62
)
Coverity 1453628: Null pointer dereferences (REVERSE_INULL)
author
Pauli
<paul.dale@oracle.com>
Sun, 8 Sep 2019 08:29:58 +0000
(18:29 +1000)
committer
Pauli
<paul.dale@oracle.com>
Tue, 10 Sep 2019 22:27:26 +0000
(08:27 +1000)
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/9805)
crypto/evp/kdf_lib.c
patch
|
blob
|
history
diff --git
a/crypto/evp/kdf_lib.c
b/crypto/evp/kdf_lib.c
index aa0c5e341f6ec35524e3bfdc145e55d71433144c..dedb250988f674ba3d5b4f6db5689de10ffec554 100644
(file)
--- a/
crypto/evp/kdf_lib.c
+++ b/
crypto/evp/kdf_lib.c
@@
-59,7
+59,7
@@
EVP_KDF_CTX *EVP_KDF_CTX_dup(const EVP_KDF_CTX *src)
{
EVP_KDF_CTX *dst;
- if (src
->data == NULL || src
== NULL || src->meth->dupctx == NULL)
+ if (src
== NULL || src->data
== NULL || src->meth->dupctx == NULL)
return NULL;
dst = OPENSSL_malloc(sizeof(*dst));