projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reject decoding of an INT64 with a value >INT64_MAX
[openssl.git]
/
crypto
/
asn1
/
asn1_par.c
diff --git
a/crypto/asn1/asn1_par.c
b/crypto/asn1/asn1_par.c
index 4db3df9b8d3e58507854f5105cce308adf48dee6..af045cb15ef2469808706b5ffa03420322e37af2 100644
(file)
--- a/
crypto/asn1/asn1_par.c
+++ b/
crypto/asn1/asn1_par.c
@@
-79,8
+79,8
@@
static int asn1_parse2(BIO *bp, const unsigned char **pp, long length,
int dump_indent, dump_cont = 0;
if (depth > ASN1_PARSE_MAXDEPTH) {
-
BIO_puts(bp, "BAD RECURSION DEPTH\n");
-
return 0;
+ BIO_puts(bp, "BAD RECURSION DEPTH\n");
+ return 0;
}
dump_indent = 6; /* Because we know BIO_dump_indent() */