From 2c02faeecd2bd321d6b8dd7bbd2f34325785fd03 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 24 Nov 2015 16:37:52 +0000 Subject: [PATCH] Fix uninitialised p error. Reviewed-by: Rich Salz (cherry picked from commit 63eb10a07ee29a312e50a227f5b3a290b1ad22b4) --- crypto/asn1/asn1_par.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c index 8120f26ded..e16483dea5 100644 --- a/crypto/asn1/asn1_par.c +++ b/crypto/asn1/asn1_par.c @@ -141,7 +141,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; -- 2.25.1