Fix NULL-return checks in 1.0.2
authorRich Salz <rsalz@openssl.org>
Fri, 19 Aug 2016 14:31:03 +0000 (10:31 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 19 Aug 2016 14:44:32 +0000 (10:44 -0400)
commita03f81f4ead24c234dc26e388d86a352685f3948
tree52d615c7c60f258f755f4fae2a38dc9412098bcd
parent66e708326524929a0e1631f8d1ef6e63c153922c
Fix NULL-return checks in 1.0.2

RT4386: Add sanity checks for BN_new()
RT4384: Missing Sanity Checks for RSA_new_method()
RT4384: Missing Sanity Check plus potential NULL pointer deref
RT4382: Missing Sanity Check(s) for BUF_strdup()
RT4380: Missing Sanity Checks for EVP_PKEY_new()
RT4377: Prevent potential NULL pointer dereference
RT4375: Missing sanity checks for OPENSSL_malloc()
RT4374: Potential for NULL pointer dereferences
RT4371: Missing Sanity Check for malloc()
RT4370: Potential for NULL pointer dereferences

Also expand tabs, make update, typo fix (rsalz)
Minor tweak by Paul Dale.
Some minor internal review feedback.

Reviewed-by: Richard Levitte <levitte@openssl.org>
30 files changed:
apps/apps.c
apps/ca.c
apps/speed.c
crypto/asn1/asn_mime.c
crypto/bio/bss_rtcp.c
crypto/conf/conf_mod.c
crypto/engine/eng_cryptodev.c
crypto/evp/openbsd_hw.c
crypto/evp/pmeth_gn.c
crypto/jpake/jpake.c
crypto/pkcs7/pk7_doit.c
crypto/ui/ui_lib.c
crypto/x509/by_dir.c
crypto/x509v3/v3_alt.c
doc/crypto/OBJ_nid2obj.pod
engines/ccgost/gost2001.c
engines/ccgost/gost2001_keyx.c
engines/ccgost/gost94_keyx.c
engines/ccgost/gost_ameth.c
engines/ccgost/gost_pmeth.c
engines/e_4758cca.c
engines/e_aep.c
engines/e_capi.c
engines/e_chil.c
ssl/d1_both.c
ssl/s3_clnt.c
ssl/s3_enc.c
ssl/ssl_ciph.c
ssl/ssl_sess.c
ssl/t1_lib.c