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:
4b9dcd8
)
Fix from HEAD.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 31 Aug 2006 20:11:09 +0000
(20:11 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 31 Aug 2006 20:11:09 +0000
(20:11 +0000)
crypto/asn1/tasn_dec.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/tasn_dec.c
b/crypto/asn1/tasn_dec.c
index f8b27cffdbf4e8a094387a3d29ed09c90e8f9012..0294d8e766a4b9b1c207bc1ecb9b4b6904907335 100644
(file)
--- a/
crypto/asn1/tasn_dec.c
+++ b/
crypto/asn1/tasn_dec.c
@@
-878,7
+878,10
@@
static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
* for UNIVERSAL class and ignore the tag.
*/
if (!asn1_collect(&buf, &p, plen, inf, -1, V_ASN1_UNIVERSAL))
+ {
+ free_cont = 1;
goto err;
+ }
len = buf.length;
/* Append a final null to string */
if (!BUF_MEM_grow_clean(&buf, len + 1))