openssl/crypto/bio
Matt Caswell b3c02473f7 Fix memory leaks in BIO_dup_chain()
This fixes a memory leak that can occur whilst duplicating a BIO chain if
the call to CRYPTO_dup_ex_data() fails. It also fixes a second memory leak
where if a failure occurs after successfully creating the first BIO in the
chain, then the beginning of the new chain was not freed.

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

Reviewed-by: Stephen Henson <steve@openssl.org>

Conflicts:
	crypto/bio/bio_lib.c
2015-06-10 10:24:49 +01:00
..
.cvsignore Add emacs cache files to .cvsignore. 2005-04-11 14:17:07 +00:00
b_dump.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
b_print.c Clarify logic in BIO_*printf functions 2015-04-30 23:21:53 +01:00
b_sock.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
bf_buff.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bf_lbuf.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bf_nbio.c Code style: space after 'if' 2015-04-16 13:50:01 -04:00
bf_null.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
bio.h make update 2015-03-19 13:31:16 +00:00
bio_cb.c BIO_debug_callback: Fix output on 64-bit machines 2015-03-10 12:34:21 +01:00
bio_err.c make update 2015-03-19 13:31:16 +00:00
bio_lcl.h Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bio_lib.c Fix memory leaks in BIO_dup_chain() 2015-06-10 10:24:49 +01:00
bss_acpt.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
bss_bio.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bss_conn.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bss_dgram.c Fix compilation failure for some tool chains 2015-06-02 23:38:03 +01:00
bss_fd.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bss_file.c Rerun util/openssl-format-source -v -c . 2015-01-22 09:31:48 +00:00
bss_log.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bss_mem.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bss_null.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bss_rtcp.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bss_sock.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
Makefile Fix the update target and remove duplicate file updates 2015-05-23 06:25:12 +02:00