]> granicus.if.org Git - openssl/commitdiff
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 09dde156137cf1975fa40d6f2ef30222507a3aed..4698e022e2904a4a9773412a0ae3be80dbbf857b 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() */