diff options
author | Pauli <paul.dale@oracle.com> | 2019-09-08 10:29:58 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-09-11 00:27:26 +0200 |
commit | 6ce4ff19158273ccf3313d5ece6adbd8bda0ac4b (patch) | |
tree | c34c59fad51a3460e274c6c21dd808c440e289af | |
parent | Coverity 1453627: Null pointer dereferences (REVERSE_INULL) (diff) | |
download | openssl-6ce4ff19158273ccf3313d5ece6adbd8bda0ac4b.tar.xz openssl-6ce4ff19158273ccf3313d5ece6adbd8bda0ac4b.zip |
Coverity 1453628: Null pointer dereferences (REVERSE_INULL)
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/9805)
-rw-r--r-- | crypto/evp/kdf_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/kdf_lib.c b/crypto/evp/kdf_lib.c index aa0c5e341f..dedb250988 100644 --- 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)); |