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 Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
pcy_data.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
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 OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
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 OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
v3_akeya.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
v3_alt.c Clear some _CRT_SECURE_NO_WARNINGS warnings. 2017-10-25 04:14:28 +00:00
v3_bcons.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
v3_bitst.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
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 OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
v3_enum.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
v3_extku.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
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 OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
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 OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
v3_pcons.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
v3_pku.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
v3_pmaps.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
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 OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
v3_sxnet.c OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
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