summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-11-24 16:37:52 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-11-24 16:55:34 +0000
commit943c4ca62b3f5a160340d57aecb9413407a06e15 (patch)
tree0af9118d7c221507bf8ccff3b249f7237ac4d506 /crypto/asn1
parentd88ef40a1e5c81d0d32b4a431e55f5456e678dd2 (diff)
Fix uninitialised p error.
Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit 63eb10a07ee29a312e50a227f5b3a290b1ad22b4)
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/asn1_par.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c
index 21dfe0c49e..0ca985a2be 100644
--- a/crypto/asn1/asn1_par.c
+++ b/crypto/asn1/asn1_par.c
@@ -135,7 +135,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;
}
p = *pp;