diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-11-24 17:37:52 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-11-24 17:45:02 +0100 |
commit | 63eb10a07ee29a312e50a227f5b3a290b1ad22b4 (patch) | |
tree | 92bc072af3a42de80410fec86365aa425dfd8909 /crypto | |
parent | Limit depth of ASN1 parse printing. (diff) | |
download | openssl-63eb10a07ee29a312e50a227f5b3a290b1ad22b4.tar.xz openssl-63eb10a07ee29a312e50a227f5b3a290b1ad22b4.zip |
Fix uninitialised p error.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/asn1/asn1_par.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c index 09dde15613..4698e022e2 100644 --- a/crypto/asn1/asn1_par.c +++ b/crypto/asn1/asn1_par.c @@ -129,7 +129,7 @@ static int asn1_parse2(BIO *bp, const unsigned char **pp, long length, if (depth > ASN1_PARSE_MAXDEPTH) { BIO_puts(bp, "BAD RECURSION DEPTH\n"); - goto end; + return 0; } dump_indent = 6; /* Because we know BIO_dump_indent() */ |