From: Richard Levitte Date: Thu, 15 Jun 2000 11:10:15 +0000 (+0000) Subject: Make sure that bs is not getting free'd again. X-Git-Tag: OpenSSL-engine-0_9_6-beta1~21^2~60 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f20ee314772c13445a73cae46dd09c46795b5276;p=oweals%2Fopenssl.git Make sure that bs is not getting free'd again. Reported by Robert Eiglmaier --- diff --git a/crypto/asn1/d2i_s_pr.c b/crypto/asn1/d2i_s_pr.c index dec2a2ebd3..55d5802d70 100644 --- a/crypto/asn1/d2i_s_pr.c +++ b/crypto/asn1/d2i_s_pr.c @@ -92,6 +92,7 @@ DSA *d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length) == NULL) goto err_bn; M_ASN1_INTEGER_free(bs); + bs = NULL; M_ASN1_D2I_Finish_2(a); err_bn: