openssl/crypto
Dr. Stephen Henson f962541d0b Don't set choice selector on parse failure.
Don't set choice selector on parse failure: this can pass unexpected
values to the choice callback. Instead free up partial structure
directly.

CVE-2016-7053

Thanks to Tyler Nighswander of ForAllSecure for reporting this issue.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-11-10 13:04:11 +00:00
..
aes aes/asm/aesp8-ppc.pl: improve [backward] portability. 2016-11-10 12:58:35 +00:00
asn1 Don't set choice selector on parse failure. 2016-11-10 13:04:11 +00:00
async
bf
bio Try to unify BIO read/write parameter names 2016-10-29 00:56:52 +02:00
blake2
bn bn/asm/x86_64-mont.pl: fix for CVE-2016-7055 (Low severity). 2016-11-10 10:33:21 +00:00
buffer
camellia Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
cast Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
chacha Move algorithm specific ppccap code from crypto/ppccap.c 2016-11-09 02:40:36 +01:00
cmac
cms Fix enable-zlib 2016-08-22 09:43:13 +01:00
comp Fix zlib BIO_METHOD for latest BIO_METHOD structure changes 2016-11-08 13:58:10 +00:00
conf
ct Add -Wswitch-enum 2016-09-22 08:36:26 -04:00
des Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
dh Constify private key decode. 2016-08-17 12:01:29 +01:00
dsa Fix a missing NULL check in dsa_builtin_paramgen 2016-09-21 13:32:30 +01:00
dso Add a DSO_dsobyaddr() function 2016-11-02 23:32:50 +00:00
ec Move algorithm specific ppccap code from crypto/ppccap.c 2016-11-09 02:40:36 +01:00
engine Fix support for DragonFly BSD 2016-10-22 04:25:17 -04:00
err Ensure we handle len == 0 in ERR_err_string_n 2016-10-15 11:30:15 +01:00
evp chacha20/poly1305: make sure to clear the buffer at correct position 2016-11-10 13:04:11 +00:00
hmac Fix style issues in HMAC_size() 2016-11-04 12:09:46 +00:00
idea
include/internal Remove an useless definition. 2016-09-17 12:32:37 -04:00
kdf Following the changes to HKDF to accept a mode, add some tests for this 2016-11-09 10:36:54 +00:00
lhash GH1555: Don't bump size on realloc failure 2016-09-21 10:40:27 -04:00
md2
md4
md5 Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
mdc2 Convert mdc2 test print to internal test 2016-11-03 13:13:31 +01:00
modes Convert modes selftests (cts128 and gcm128) to internal test 2016-11-03 13:13:31 +01:00
objects Clean away remaining 'selftest' code 2016-11-03 13:15:40 +01:00
ocsp Add OCSP_RESPID_match() 2016-09-22 09:27:45 +01:00
pem Limit reads in do_b2i_bio() 2016-08-16 00:27:10 +01:00
perlasm Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
pkcs7
pkcs12 Don't switch password formats using global state. 2016-08-25 11:42:33 +01:00
poly1305 Move algorithm specific ppccap code from crypto/ppccap.c 2016-11-09 02:40:36 +01:00
rand rand/randfile.c: treat empty string in RAND_file_name as error. 2016-09-21 21:09:11 +02:00
rc2 Clean away remaining 'selftest' code 2016-11-03 13:15:40 +01:00
rc4 Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
rc5
ripemd Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
rsa Implement RSASSA-PKCS1-v1_5 as specified. 2016-11-07 21:04:54 +01:00
seed
sha Move algorithm specific ppccap code from crypto/ppccap.c 2016-11-09 02:40:36 +01:00
srp SRP code tidy. 2016-10-01 13:46:54 +01:00
stack Don't leak on an OPENSSL_realloc() failure 2016-09-21 20:27:15 +01:00
ts Add error checking, small nit on ouput 2016-10-19 06:37:42 -04:00
txt_db
ui Add -Wswitch-enum 2016-09-22 08:36:26 -04:00
whrlpool Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
x509 Simplify and clean X509_VERIFY_PARAM new/free code. 2016-11-09 09:19:19 +00:00
x509v3 Clean away remaining 'selftest' code 2016-11-03 13:15:40 +01:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c
armv4cpuid.pl
build.info
c64xpluscpuid.pl
cpt_err.c
cryptlib.c
cversion.c
dllmain.c
ebcdic.c
ex_data.c Fix mem leaks during auto-deinit 2016-09-08 12:40:19 +01:00
ia64cpuid.S
init.c Implement GET_MODULE_HANDLE_EX_FLAG_PIN for windows 2016-11-02 23:32:50 +00:00
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_dbg.c
mem_sec.c
mem.c
mips_arch.h Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
o_dir.c
o_fips.c
o_fopen.c
o_init.c
o_str.c
o_time.c
pariscid.pl
ppc_arch.h
ppccap.c Move algorithm specific ppccap code from crypto/ppccap.c 2016-11-09 02:40:36 +01:00
ppccpuid.pl
s390xcap.c Fix strict-warnings build 2016-10-18 17:09:47 +01:00
s390xcpuid.S
sparc_arch.h
sparccpuid.S
sparcv9cap.c
threads_none.c
threads_pthread.c CRYPTO_atomic_add(): check that the object is lock free 2016-08-24 14:37:48 +01:00
threads_win.c
uid.c Fix support for DragonFly BSD 2016-10-22 04:25:17 -04:00
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00