boringssl/crypto/x509
David Benjamin 4b1510c71e Fix a failure to NULL a pointer freed on error.
Reported by the LibreSSL project as a follow on to CVE-2015-0209

(Imported from upstream's 5e5d53d341fd9a9b9cc0a58eb3690832ca7a511f.)

Change-Id: Ic2e5dc5c96e316c55f76bedc6ea55b416be3287a
Reviewed-on: https://boringssl-review.googlesource.com/4049
Reviewed-by: Adam Langley <agl@google.com>
2015-03-19 19:50:32 +00:00
..
a_digest.c Fix a_{digest,verify}.c error codepaths. 2014-10-06 23:50:31 +00:00
a_sign.c Add EVP_DigestVerifyInitFromAlgorithm and EVP_DigestSignAlgorithm. 2014-10-09 21:52:52 +00:00
a_strex.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
a_verify.c Fix various certificate fingerprint issues. 2015-01-09 19:41:59 +00:00
asn1_gen.c Fix seg fault in ASN1_generate_v3/ASN1_generate_nconf 2015-03-19 11:08:50 +00:00
by_dir.c Fix some unchecked mallocs. 2015-02-09 19:39:41 +00:00
by_file.c Inital import. 2014-06-20 13:17:32 -07:00
charmap.h Inital import. 2014-06-20 13:17:32 -07:00
CMakeLists.txt Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
i2d_pr.c Fix cross-module errors. 2015-02-11 23:11:55 +00:00
pkcs7_test.c Add support for reading PKCS#7 data from PEM files. 2015-02-27 21:02:38 +00:00
pkcs7.c Add support for reading PKCS#7 data from PEM files. 2015-02-27 21:02:38 +00:00
t_crl.c Shush some dead assignments. 2014-11-06 01:34:33 +00:00
t_x509.c Use inner algorithm when printing certificate. 2015-01-26 18:37:23 +00:00
t_x509a.c Inital import. 2014-06-20 13:17:32 -07:00
vpm_int.h Update API to use (char *) for email addresses and hostnames. 2015-02-13 11:00:48 -08:00
x509_att.c Inital import. 2014-06-20 13:17:32 -07:00
x509_cmp.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
x509_d2.c Inital import. 2014-06-20 13:17:32 -07:00
x509_def.c Inital import. 2014-06-20 13:17:32 -07:00
x509_ext.c Inital import. 2014-06-20 13:17:32 -07:00
x509_lu.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
x509_obj.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
x509_r2x.c Inital import. 2014-06-20 13:17:32 -07:00
x509_req.c Check public key is not NULL. 2015-03-06 18:55:32 +00:00
x509_set.c Omit version for v1 certificates. 2014-11-10 13:45:32 -08:00
x509_trs.c Fix error handling in X509_PURPOSE_add and X509_TRUST_add. 2014-11-06 01:44:43 +00:00
x509_txt.c Inital import. 2014-06-20 13:17:32 -07:00
x509_v3.c Inital import. 2014-06-20 13:17:32 -07:00
x509_vfy.c Remove X509_get_pubkey_parameters. 2015-02-17 23:15:47 +00:00
x509_vpm.c Update API to use (char *) for email addresses and hostnames. 2015-02-13 11:00:48 -08:00
x509.c Inital import. 2014-06-20 13:17:32 -07:00
x509cset.c Inital import. 2014-06-20 13:17:32 -07:00
x509name.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
x509rset.c Inital import. 2014-06-20 13:17:32 -07:00
x509spki.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
x509type.c Inital import. 2014-06-20 13:17:32 -07:00
x_algor.c Fix various certificate fingerprint issues. 2015-01-09 19:41:59 +00:00
x_all.c Fix various certificate fingerprint issues. 2015-01-09 19:41:59 +00:00
x_attrib.c Inital import. 2014-06-20 13:17:32 -07:00
x_crl.c Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
x_exten.c Inital import. 2014-06-20 13:17:32 -07:00
x_info.c Inital import. 2014-06-20 13:17:32 -07:00
x_name.c Fix memory leak on malloc failure. 2015-02-10 01:23:34 +00:00
x_pkey.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
x_pubkey.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
x_req.c Inital import. 2014-06-20 13:17:32 -07:00
x_sig.c Inital import. 2014-06-20 13:17:32 -07:00
x_spki.c Inital import. 2014-06-20 13:17:32 -07:00
x_val.c Inital import. 2014-06-20 13:17:32 -07:00
x_x509.c Fix a failure to NULL a pointer freed on error. 2015-03-19 19:50:32 +00:00
x_x509a.c Inital import. 2014-06-20 13:17:32 -07:00