boringssl/crypto/x509v3
David Benjamin 67623735e0 Fix memory leak on sk_X509_EXTENSION_push failure.
(Imported from upstream's c29f83c05f3a3c5641c5ddf054789a29d2163bf3.)

ext was being leaked. Upstream also did some stuff around *x which
wasn't strictly necessary (usually OpenSSL only provides basic
exception safety, not strong exception safety), but ah well.

Change-Id: I52d230990b05501b4cee6deee8dcacba4a926c18
Reviewed-on: https://boringssl-review.googlesource.com/23204
Reviewed-by: Steven Valdez <svaldez@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-11-21 17:48:00 +00:00
..
CMakeLists.txt Convert the tests in x509v3 to GTest. 2017-07-10 19:05:04 +00:00
ext_dat.h Convert the tests in x509v3 to GTest. 2017-07-10 19:05:04 +00:00
pcy_cache.c
pcy_data.c
pcy_int.h Convert stack.h to use inline functions. 2017-05-22 15:06:04 +00:00
pcy_lib.c Delete some dead code from crypto/x509. 2017-06-09 19:58:08 +00:00
pcy_map.c
pcy_node.c Convert stack.h to use inline functions. 2017-05-22 15:06:04 +00:00
pcy_tree.c Avoid possible memleak in X509_policy_check() 2017-07-06 18:53:18 +00:00
tab_test.cc Convert the tests in x509v3 to GTest. 2017-07-10 19:05:04 +00:00
v3_akey.c
v3_akeya.c
v3_alt.c Clear some _CRT_SECURE_NO_WARNINGS warnings. 2017-10-25 04:14:28 +00:00
v3_bcons.c
v3_bitst.c
v3_conf.c Fix an error path leak in do_ext_nconf() 2016-07-26 19:11:01 +00:00
v3_cpols.c Fix a crash in print_notice. 2017-03-21 14:50:26 +00:00
v3_crld.c
v3_enum.c
v3_extku.c
v3_genn.c Fix memory leak in GENERAL_NAME_set0_othername. 2017-10-30 18:40:17 +00:00
v3_ia5.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
v3_info.c Clear some _CRT_SECURE_NO_WARNINGS warnings. 2017-10-25 04:14:28 +00:00
v3_int.c
v3_lib.c Fix memory leak on sk_X509_EXTENSION_push failure. 2017-11-21 17:48:00 +00:00
v3_ncons.c Guard against DoS in name constraints handling. 2017-09-06 22:00:46 +00:00
v3_pci.c Remove 'file:' feature in v3_pci.c's CONF hooks. 2017-03-10 17:12:55 +00:00
v3_pcia.c
v3_pcons.c
v3_pku.c
v3_pmaps.c
v3_prn.c Remove ASN1_parse and ASN1_parse_dump. 2016-06-14 17:39:17 +00:00
v3_purp.c Fix x509v3_cache_extensions locking. 2016-12-05 23:12:49 +00:00
v3_skey.c
v3_sxnet.c
v3_utl.c Use functions that do not depend on the current locale. 2017-07-25 22:53:33 +00:00
v3name_test.cc Convert the tests in x509v3 to GTest. 2017-07-10 19:05:04 +00:00