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:
576bcdb
)
coverity 1462560 Resource leak
author
Pauli
<paul.dale@oracle.com>
Sun, 26 Apr 2020 22:54:28 +0000
(08:54 +1000)
committer
Pauli
<paul.dale@oracle.com>
Thu, 30 Apr 2020 10:21:32 +0000
(20:21 +1000)
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11651)
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index e5fbd2afd16e9b1134100fe6e8626d70edc8fa08..fb0469183f7052b2eb9821cecc10d23bb9f978bb 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
crypto/x509/x509_vfy.c
@@
-3258,6
+3258,7
@@
static int build_chain(X509_STORE_CTX *ctx)
if (ss < 0) {
X509err(X509_F_BUILD_CHAIN, ERR_R_INTERNAL_ERROR);
ctx->error = X509_V_ERR_UNSPECIFIED;
+ sk_X509_free(sktmp);
return 0;
}