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:
ed67f7b
)
PR: 2527
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 25 May 2011 15:05:56 +0000
(15:05 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 25 May 2011 15:05:56 +0000
(15:05 +0000)
Submitted by: Marcus Meissner <meissner@suse.de>
Reviewed by: steve
Set cnf to NULL to avoid possible double free.
apps/asn1pars.c
patch
|
blob
|
history
diff --git
a/apps/asn1pars.c
b/apps/asn1pars.c
index b5d65e725b8e505e49ff318b95ef155cadeadfc0..0d6607071fe69b0bc62ffb66a60215344b3a6093 100644
(file)
--- a/
apps/asn1pars.c
+++ b/
apps/asn1pars.c
@@
-408,6
+408,7
@@
static int do_generate(BIO *bio, char *genstr, char *genconf, BUF_MEM *buf)
atyp = ASN1_generate_nconf(genstr, cnf);
NCONF_free(cnf);
+ cnf = NULL;
if (!atyp)
return -1;