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:
4d018f7
)
Fix from HEAD.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Jan 2006 18:37:41 +0000
(18:37 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Jan 2006 18:37:41 +0000
(18:37 +0000)
crypto/asn1/tasn_dec.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/tasn_dec.c
b/crypto/asn1/tasn_dec.c
index 2b9c25611ecd6c4fbac1ed2ec62a4d6a796bfe09..eddaae6c9dc314f79f76d6bc245d644a0fd4cf6b 100644
(file)
--- a/
crypto/asn1/tasn_dec.c
+++ b/
crypto/asn1/tasn_dec.c
@@
-1167,7
+1167,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;
}