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:
826b52d
)
Ignore zero length constructed segments.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Jan 2006 18:36:29 +0000
(18:36 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Jan 2006 18:36:29 +0000
(18:36 +0000)
crypto/asn1/tasn_dec.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/tasn_dec.c
b/crypto/asn1/tasn_dec.c
index f369fcb9bb8c3c3973cce3667e4fbd57413aed02..ffec26f2f3269f95b858934151ef4ca4cc1a6920 100644
(file)
--- a/
crypto/asn1/tasn_dec.c
+++ b/
crypto/asn1/tasn_dec.c
@@
-1169,7
+1169,7
@@
static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len,
return 0;
#endif
}
- else if (!collect_data(buf, &p, plen))
+ else if (
plen &&
!collect_data(buf, &p, plen))
return 0;
len -= p - q;
}