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:
43b1a3d
)
Fix a crash with malformed user notice policy numbers
author
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Thu, 2 Feb 2017 12:36:10 +0000
(13:36 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 5 Feb 2017 00:06:26 +0000
(
01:06
+0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2352)
(cherry picked from commit
fe4075f25962dbd302d856c11ac47adb84edc9ca
)
crypto/x509v3/v3_cpols.c
patch
|
blob
|
history
diff --git
a/crypto/x509v3/v3_cpols.c
b/crypto/x509v3/v3_cpols.c
index d97f6226b9ee014660332eae66971f969dfbc80c..f28acab34edbecc4bab79a99713d4d16d3c5eb36 100644
(file)
--- a/
crypto/x509v3/v3_cpols.c
+++ b/
crypto/x509v3/v3_cpols.c
@@
-390,10
+390,10
@@
static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos)
return 1;
merr:
+ ASN1_INTEGER_free(aint);
X509V3err(X509V3_F_NREF_NOS, ERR_R_MALLOC_FAILURE);
err:
- sk_ASN1_INTEGER_pop_free(nnums, ASN1_STRING_free);
return 0;
}