openssl/crypto
Matt Caswell ffe9150b15 Fix a potential double free in EVP_DigestInit_ex
There is a potential double free in EVP_DigestInit_ex. This is believed
to be reached only as a result of programmer error - but we should fix it
anyway.

Issue reported by Guido Vranken.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-18 11:40:00 +00:00
..
aes Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
asn1 Make X509_SIG opaque. 2016-03-11 17:40:47 +00:00
async Some platforms provide getcontext() but it does not work 2016-03-16 18:12:56 +01:00
bf Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
bio Remove Netware and OS/2 2016-03-17 17:06:57 -04:00
blake2 Use unsigned int instead of just unsigned. 2016-03-11 10:39:10 -05:00
bn Remove ultrix/mips support. 2016-03-17 15:29:15 -04:00
buffer Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
camellia Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
cast Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
chacha Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
cmac Use utility functions for HMAC and CMAC. 2016-03-02 20:57:32 +00:00
cms Convert CRYPTO_LOCK_EVP_PKEY to new multi-threading API 2016-03-08 11:10:34 -05:00
comp Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
conf Use correct C format for keysets.pl 2016-03-17 19:08:07 +00:00
ct constify CT_POLICY_EVAL_CTX getters 2016-03-11 09:06:04 -05:00
des Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
dh RT3676 add: Export ASN.1 DHparams 2016-03-09 20:58:08 -05:00
dsa move DSA_SIG definition into C source file 2016-03-11 14:53:50 +00:00
dso Convert CRYPTO_LOCK_DSO to new multi-threading API 2016-03-08 09:07:32 -05:00
ec Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
engine Deal with DSA_SIG opaqueness. 2016-03-16 18:26:06 +00:00
err Remove the old threading API 2016-03-09 12:41:39 +00:00
evp Fix a potential double free in EVP_DigestInit_ex 2016-03-18 11:40:00 +00:00
hmac Use utility functions for HMAC and CMAC. 2016-03-02 20:57:32 +00:00
idea Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
include/internal Make X509_SIG opaque. 2016-03-11 17:40:47 +00:00
kdf GH355: Implement HKDF 2016-03-03 18:21:20 -05:00
lhash Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
md2 Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
md4 Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
md5 Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
mdc2 Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
modes Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
objects Review comments 2016-03-11 10:39:10 -05:00
ocsp Avoid double-free in calleres to OCSP_parse_url 2016-03-09 20:44:52 -05:00
pem Elide EVP_read_pw_string() and friends for no-ui 2016-03-07 12:52:56 -05:00
perlasm SPARCv9 assembly pack: unify build rules and argument handling. 2016-03-08 15:51:06 +01:00
pkcs7 Remove Netware and OS/2 2016-03-17 17:06:57 -04:00
pkcs12 Make X509_SIG opaque. 2016-03-11 17:40:47 +00:00
poly1305 poly1305/asm/poly1305-x86_64.pl: make it work with linux-x32. 2016-03-15 23:58:31 +01:00
rand Remove Netware and OS/2 2016-03-17 17:06:57 -04:00
rc2 Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
rc4 build.info/Makefile.in: Itanium fixups. 2016-03-14 13:50:43 +01:00
rc5 Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
ripemd Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
rsa Make X509_SIG opaque. 2016-03-11 17:40:47 +00:00
seed Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
sha build.info/Makefile.in: Itanium fixups. 2016-03-14 13:50:43 +01:00
srp Mark SRP_VBASE_get_by_user() as deprecated 2016-03-10 09:29:42 +00:00
stack Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
ts Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
txt_db Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
ui Fix build; CPP syntax error. 2016-03-18 07:35:18 -04:00
whrlpool Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
x509 Remove use of the old CRYPTO_LOCK_X5O9_STORE 2016-03-09 12:41:39 +00:00
x509v3 Add X509_CHECK_FLAG_NEVER_CHECK_SUBJECT flag 2016-03-09 20:41:28 -05:00
alphacpuid.pl Unified - adapt the generation of cpuid, uplink and buildinf to use GENERATE 2016-03-09 11:09:26 +01:00
arm64cpuid.pl
arm_arch.h
armcap.c
armv4cpuid.pl ARMv4 assembly pack: implement support for Thumb2. 2015-09-25 13:34:02 +02:00
build.info Complete incomplete makefile variable referenses 2016-03-13 11:07:12 +01:00
c64xpluscpuid.pl
cpt_err.c After renaming init, update errors. 2016-02-10 15:52:32 -05:00
cryptlib.c OpenSSLDie --> OPENSSL_die 2016-03-08 14:46:17 -05:00
cversion.c Make it possible to get ENGINESDIR info from OpenSSL_versions 2016-02-10 19:36:48 +01:00
ebcdic.c Use NON_EMPTY_TRANSLATION_UNIT, consistently. 2016-02-09 20:13:29 -05:00
ex_data.c Change an function macro for ERR match the function it's used in. 2016-03-13 14:54:51 +01:00
fips_err.h Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
fips_ers.c Use NON_EMPTY_TRANSLATION_UNIT, consistently. 2016-02-09 20:13:29 -05:00
ia64cpuid.S
init.c Fix CRYPTO_THREAD_run_once return value checks 2016-03-15 17:59:09 +01: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.in Fix classic build 2016-03-09 14:58:42 +00:00
mem_clr.c RT4116: Change cleanse to just memset 2016-02-25 10:04:00 -05:00
mem_dbg.c Move variable declaration to the start of the function 2016-03-09 01:20:53 +00:00
mem_sec.c Convert mem_dbg and mem_sec to the new Thread API 2016-03-08 21:06:04 +00:00
mem.c Build fix: remove cleanse_ctr 2016-02-25 10:19:50 -05:00
o_dir.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
o_fips.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
o_init.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
o_str.c Fix master compile error 2016-02-26 16:50:59 +00:00
o_time.c Remove Netware and OS/2 2016-03-17 17:06:57 -04:00
pariscid.pl
ppc_arch.h crypto/ppccap.c: add SIGILL-free processor capability detection code. 2015-12-14 16:08:49 +01:00
ppccap.c Configurations: engage PPC ChaCha20 and Poly1305 modules. 2016-02-13 17:22:20 +01:00
ppccpuid.pl crpyto/ppccpuid.pl: add FPU probe and fix OPENSSL_rdtsc. 2015-12-14 16:09:25 +01:00
s390xcap.c
s390xcpuid.S
sparc_arch.h
sparccpuid.S Conversion to UTF-8 where needed 2015-07-14 01:10:01 +02:00
sparcv9cap.c crypto/sparcv9cap.c: add SIGILL-free feature detection for Solaris. 2015-12-02 10:53:33 +01:00
threads_none.c Implement new multi-threading API 2016-02-26 10:00:36 +00:00
threads_pthread.c GH773: Possible leak on CRYPTO_THREAD_lock_new failure 2016-03-03 19:47:01 -05:00
threads_win.c Fix return type for CRYPTO_THREAD_run_once 2016-03-09 20:42:30 -05:00
uid.c Remove Netware and OS/2 2016-03-17 17:06:57 -04:00
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl Unified - adapt the generation of cpuid, uplink and buildinf to use GENERATE 2016-03-09 11:09:26 +01:00