Free buffer on error in a2i_ASN1_INTEGER()
authorMatt Caswell <matt@openssl.org>
Wed, 27 Apr 2016 13:50:32 +0000 (14:50 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 17:00:53 +0000 (18:00 +0100)
commitb0cb22b07c71c13412c633c816afb5afccdb84b7
treef2aa98d8ca28a016b33de8154704c8e0ef0cd3ee
parent6e4ab54b93a161bed3d668315b13359b883caca4
Free buffer on error in a2i_ASN1_INTEGER()

The function a2i_ASN1_INTEGER() allocates a buffer |s| but then fails
to free it on error paths.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/asn1/f_int.c