projects
/
platform
/
upstream
/
libtasn1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9765641
)
Make asn1_ordering_set_of() return error if it can't find data for one of the entries.
author
Kurt Roeckx
<kurt@roeckx.be>
Sat, 26 Apr 2014 16:10:31 +0000
(18:10 +0200)
committer
Nikos Mavrogiannopoulos
<nmav@gnutls.org>
Sun, 27 Apr 2014 16:28:28 +0000
(18:28 +0200)
lib/coding.c
patch
|
blob
|
history
diff --git
a/lib/coding.c
b/lib/coding.c
index
e561700
..
6fb7c05
100644
(file)
--- a/
lib/coding.c
+++ b/
lib/coding.c
@@
-905,6
+905,11
@@
_asn1_ordering_set_of (unsigned char *der, int der_len, asn1_node node)
}
counter += len + len2;
}
+ else
+ {
+ err = ASN1_DER_ERROR;
+ goto error;
+ }
p_vet->end = counter;
p = p->right;