OK, let me look into this.

But could you please let me know where these _free functions are defined, for 
OCSP_BASICRESP_free(), OCS_RESPONSE_free(), OCSP_REQUEST_free()?

Thanks,
-binlu

-----Original Message-----
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Dr. Stephen Henson
Sent: Saturday, December 11, 2010 5:21 AM
To: openssl-users@openssl.org
Subject: Re: OCSP_BASICRESP_free() segmentation fault

On Thu, Dec 09, 2010, Bin Lu wrote:

> Hi,
> 
> I am getting the following crash in openssl-0.9.8d:
> 
> #0 0x2332885e in ASN1_primitive_free ()
> #1 0x233288a4 in ASN1_primitive_free ()
> #2 0x23328935 in ASN1_primitive_free ()
> #3 0x23328b5a in ASN1_template_free ()
> #4 0x23328a74 in ASN1_primitive_free ()
> #5 0x23328b5a in ASN1_template_free ()
> #6 0x23328a74 in ASN1_primitive_free ()
> #7 0x23328b12 in ASN1_template_free ()
> #8 0x23328a74 in ASN1_primitive_free ()
> #9 0x23328b93 in ASN1_item_free ()
> #10 0x2335698d in OCSP_BASICRESP_free ()
> 
> Is this a known issue? Where is OCSP_BASICRESP_free() defined? I am not able 
> to find it in the source tree.
> 

No this should not happen. A possible cause is freeing up the structure or
some substructure twice.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to