openssl/crypto/bio
Matt Caswell 96f1de5bf4 BIO_printf() can fail to print the last character
If the string to print is exactly 2048 character long (excluding the NULL
terminator) then BIO_printf will chop off the last byte. This is because
it has filled its static buffer but hasn't yet allocated a dynamic buffer.
In cases where we don't have a dynamic buffer we need to truncate but that
is not the case for BIO_printf(). We need to check whether we are able to
have a dynamic buffer buffer deciding to truncate.

Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-06-03 20:31:24 +01:00
..
b_dump.c Remove useless code 2015-10-23 20:32:59 +02:00
b_print.c BIO_printf() can fail to print the last character 2016-06-03 20:31:24 +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 RT4129: BUF_new_mem_buf should take const void * 2016-02-01 08:43:27 -05: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 Fix some missing inits 2016-05-31 16:58:22 -04:00
bss_conn.c Have BIO_get_conn_int_port use BIO_ctrl instead BIO_int_ctrl 2015-12-19 22:07:42 +01:00
bss_dgram.c BIO_s_datagram() ctrl doesn't support SEEK/TELL, so don't pretend it does 2015-12-19 22:07:42 +01:00
bss_fd.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bss_file.c RT3479: Add UTF8 support to BIO_read_filename() 2015-09-21 17:31:58 -04:00
bss_log.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
bss_mem.c RT4129: BUF_new_mem_buf should take const void * 2016-02-01 08:43:27 -05: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