boringssl/crypto/asn1
David Benjamin 126fa278f8 Don't leak memory on ASN1_GENERALIZEDTIME_adj() error path
The ASN1_GENERALIZEDTIME_adj() function leaks an ASN1_GENERALIZEDTIME
object on an error path.

(Imported from upstream's fe71bb3ad97ed01ccf92812891cc2bc3ef3dce76.)

Thanks to Jinguang Dong for pointing out the bug.

Change-Id: I2c14662bb03b0cf957bd277bda487f05f07e89e7
Reviewed-on: https://boringssl-review.googlesource.com/12185
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2016-11-10 16:17:29 +00:00
..
a_bitstr.c
a_bool.c
a_d2i_fp.c
a_dup.c
a_enum.c
a_gentm.c Don't leak memory on ASN1_GENERALIZEDTIME_adj() error path 2016-11-10 16:17:29 +00:00
a_i2d_fp.c
a_int.c
a_mbstr.c
a_object.c Check for errors in a2d_ASN1_OBJECT() 2016-08-16 19:45:32 +00:00
a_octet.c
a_print.c
a_strnid.c Fix some missing inits 2016-06-07 22:05:10 +00:00
a_time.c Delete d2i_ASN1_bytes and i2d_ASN1_bytes. 2016-08-16 19:45:13 +00:00
a_type.c Fix ASN1_INTEGER handling. 2016-05-03 16:58:51 +00:00
a_utctm.c Delete d2i_ASN1_bytes and i2d_ASN1_bytes. 2016-08-16 19:45:13 +00:00
a_utf8.c
asn1_lib.c Remove trailing ';' from macros 2016-09-12 19:17:26 +00:00
asn1_locl.h Remove ASN.1 print hooks. 2016-06-14 17:38:31 +00:00
asn1_par.c Remove ASN1_parse and ASN1_parse_dump. 2016-06-14 17:39:17 +00:00
asn1_test.cc Replace Scoped* heap types with bssl::UniquePtr. 2016-09-01 22:22:54 +00:00
asn_pack.c
charmap.pl
CMakeLists.txt Delete d2i_ASN1_bytes and i2d_ASN1_bytes. 2016-08-16 19:45:13 +00:00
f_enum.c Purge some a2i functions. 2016-08-16 19:38:31 +00:00
f_int.c Purge some a2i functions. 2016-08-16 19:38:31 +00:00
f_string.c Purge some a2i functions. 2016-08-16 19:38:31 +00:00
t_bitst.c
tasn_dec.c Always check that the value returned by asn1_do_adb() is non-NULL. 2016-07-26 22:41:51 +00:00
tasn_enc.c Check for overflows in ASN1_object_size(). 2016-08-16 19:37:04 +00:00
tasn_fre.c
tasn_new.c
tasn_typ.c Remove spurious ';' and fix indentation for macro arguments in one file 2016-08-03 21:41:01 +00:00
tasn_utl.c Add d2i_X509_from_buffer. 2016-11-01 23:06:43 +00:00
x_bignum.c
x_long.c