SXnet code was freeing up the extension data rather than the temporary
authorDr. Stephen Henson <steve@openssl.org>
Sat, 10 Jul 1999 12:48:31 +0000 (12:48 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 10 Jul 1999 12:48:31 +0000 (12:48 +0000)
zone number.

crypto/x509v3/v3_sxnet.c

index 0f198f6..0687bb4 100644 (file)
@@ -307,7 +307,7 @@ ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, char *zone)
                return NULL;
        }
        oct = SXNET_get_id_INTEGER(sx, izone);
                return NULL;
        }
        oct = SXNET_get_id_INTEGER(sx, izone);
-       ASN1_INTEGER_free(oct);
+       ASN1_INTEGER_free(izone);
        return oct;
 }
 
        return oct;
 }
 
@@ -321,7 +321,7 @@ ASN1_OCTET_STRING *SXNET_get_id_ulong(SXNET *sx, unsigned long lzone)
                return NULL;
        }
        oct = SXNET_get_id_INTEGER(sx, izone);
                return NULL;
        }
        oct = SXNET_get_id_INTEGER(sx, izone);
-       ASN1_INTEGER_free(oct);
+       ASN1_INTEGER_free(izone);
        return oct;
 }
 
        return oct;
 }