[openssl-dev] [openssl.org #3620] bug report ASN1_item_d2i causes memory leak

Matt Caswell via RT rt at openssl.org
Mon Dec 22 14:45:57 UTC 2014


On Tue Dec 02 22:50:07 2014, Luis.Garcia at csr.com wrote:
> Hi,
>
> The bug list server of openssl is very slow to access, so I am not
> sure if this bug has already been filed.
>
> When using the routine ASN1_item_d2i, the pointer passed as the "in"
> variable gets modified in

Whilst slightly unexpected behaviour this is indeed the documented API. See for
example d2i_X509:

https://www.openssl.org/docs/crypto/d2i_X509.html

Closing this ticket.

Matt



More information about the openssl-dev mailing list