boringssl/crypto/x509v3
David Benjamin 17dd904eb9 do_dirname: Don't change gen on failures
It would set gen->d.dirn to a freed pointer in case X509V3_NAME_from_section
failed.

(Imported from upstream's ea9de25f2f577db69d67c39e5cf60be7da17c931.)

This only affects the various config file parsing bits.

Change-Id: I530c09be81bfb40bca931c064c39cbc93dfd454f
Reviewed-on: https://boringssl-review.googlesource.com/6348
Reviewed-by: Adam Langley <alangley@gmail.com>
2015-10-26 19:44:09 +00:00
..
CMakeLists.txt Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
ext_dat.h Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
pcy_cache.c Remove remaining calls to the old lock functions. 2015-05-20 19:18:13 +00:00
pcy_data.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_int.h Inital import. 2014-06-20 13:17:32 -07:00
pcy_lib.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_map.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_node.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_tree.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
tab_test.c Rename tabtest.c and v3nametest.c 2015-06-16 18:07:27 +00:00
v3_akey.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_akeya.c Inital import. 2014-06-20 13:17:32 -07:00
v3_alt.c do_dirname: Don't change gen on failures 2015-10-26 19:44:09 +00:00
v3_bcons.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_bitst.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_conf.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_cpols.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_crld.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_enum.c Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
v3_extku.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_genn.c Inital import. 2014-06-20 13:17:32 -07:00
v3_ia5.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_info.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_int.c Inital import. 2014-06-20 13:17:32 -07:00
v3_lib.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_ncons.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_pci.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_pcia.c Convert latin-1 files to UTF-8. 2015-01-29 17:26:36 -08:00
v3_pcons.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_pku.c Inital import. 2014-06-20 13:17:32 -07:00
v3_pmaps.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_prn.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
v3_purp.c Fix self-signed handling. 2015-10-26 17:46:22 +00:00
v3_skey.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_sxnet.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_utl.c Cleaner handling of "cnid" in do_x509_check 2015-09-23 23:59:43 +00:00
v3name_test.c Rename tabtest.c and v3nametest.c 2015-06-16 18:07:27 +00:00