openssl/crypto
Matt Caswell 5d80fab086 Replace memset with OPENSSL_clear_free()
BUF_MEM_free() attempts to cleanse memory using memset immediately prior
to a free. This is at risk of being optimised away by the compiler, so
replace with a call to OPENSSL_clear_free() instead.

With thanks to the Open Crypto Audit Project for reporting this issue.

Reviewed-by: Stephen Henson <steve@openssl.org>
2015-06-10 10:09:57 +01:00
..
aes Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
asn1 Check ASN1_INTEGER_get for errors. 2015-06-06 13:17:06 +01:00
bf Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
bio Fix compilation failure for some tool chains 2015-06-02 23:35:28 +01:00
bn Fix off-by-one error in BN_bn2hex 2015-06-04 09:23:02 +01:00
buffer Replace memset with OPENSSL_clear_free() 2015-06-10 10:09:57 +01:00
camellia Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
cast Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
cmac Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
cms Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
comp Fix -DZLIB build for opaque COMP types 2015-06-09 12:49:50 -04:00
conf No fprintf in the txt_db component 2015-06-09 12:39:08 -04:00
des Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
dh Properly check certificate in case of export ciphers. 2015-06-09 00:46:59 +02:00
dsa Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
dso Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
ec Fix build errors with enable-ec_nistp_64_gcc_128 2015-05-29 12:40:53 +02:00
ecdh Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
ecdsa Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
engine Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
err Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
evp Use CRYPTO_memcmp when comparing authenticators 2015-06-08 14:55:50 +02:00
hmac Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
idea Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
include/internal Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
jpake Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
lhash Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
md2 Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
md4 Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
md5 Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
mdc2 Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
modes Use CRYPTO_memcmp when comparing authenticators 2015-06-08 14:55:50 +02:00
objects return correct NID for undefined object 2015-06-08 21:44:56 +01:00
ocsp Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
pem check for error when creating PKCS#8 structure 2015-05-28 17:58:03 +01:00
perlasm
pkcs7 Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
pkcs12 Use CRYPTO_memcmp when comparing authenticators 2015-06-08 14:55:50 +02:00
pqueue Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
rand Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
rc2 Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
rc4 Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
rc5 Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
ripemd Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
rsa Properly check certificate in case of export ciphers. 2015-06-09 00:46:59 +02:00
seed Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
sha Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
srp Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
stack Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
store Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
threads Server side version negotiation rewrite 2015-05-16 09:19:56 +01:00
ts Set error code, no fprintf stderr, on errors. 2015-06-04 18:03:33 -04:00
txt_db No fprintf in the txt_db component 2015-06-09 12:39:08 -04:00
ui Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
whrlpool Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
x509 Use enum for X509_LOOKUP_TYPE 2015-05-28 12:54:27 -04:00
x509v3 Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c
armv4cpuid.pl
c64xpluscpuid.pl
cpt_err.c
cryptlib.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
crypto-lib.com Remove remaining Kerberos references 2015-05-13 15:08:10 +01:00
cversion.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
ebcdic.c
ex_data.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
fips_err.h
fips_ers.c
ia64cpuid.S
install-crypto.com Remove remaining Kerberos references 2015-05-13 15:08:10 +01:00
lock.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
LPdir_nyi.c
LPdir_unix.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
LPdir_vms.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
LPdir_win32.c
LPdir_win.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
LPdir_wince.c
Makefile Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
mem_clr.c
mem_dbg.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
mem.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
o_dir_test.c Identify and move OpenSSL internal header files 2015-05-14 15:13:49 +02:00
o_dir.c Identify and move OpenSSL internal header files 2015-05-14 15:13:49 +02:00
o_fips.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
o_init.c
o_str.c Identify and move OpenSSL internal header files 2015-05-14 15:13:49 +02:00
o_time.c
opensslconf.h.in
pariscid.pl
ppc_arch.h
ppccap.c
ppccpuid.pl
s390xcap.c
s390xcpuid.S
sparc_arch.h
sparccpuid.S
sparcv9cap.c
thr_id.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
uid.c
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl