Fix uninitialised p error.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 24 Nov 2015 16:37:52 +0000 (16:37 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 24 Nov 2015 16:45:02 +0000 (16:45 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/asn1/asn1_par.c

index 09dde15..4698e02 100644 (file)
@@ -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() */