summaryrefslogtreecommitdiffstats
path: root/CHANGES
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-06-04 10:35:08 +0100
committerMatt Caswell <matt@openssl.org>2015-06-10 10:40:50 +0100
commitb8b12aadd8edfd3bd327157c8899b1cf3403177f (patch)
tree2b8e5fb28fffb6b9049cae0934ddb28c38520346 /CHANGES
parent54e3ad003bdf83f189b2bf17fb998c028d39c8eb (diff)
Change BIO_number_read and BIO_number_written() to be 64 bit
The return type of BIO_number_read() and BIO_number_written() as well as the corresponding num_read and num_write members in the BIO structure has been changed from unsigned long to uint64_t. On platforms where an unsigned long is 32 bits (e.g. Windows) these counters could overflow if >4Gb is transferred. With thanks to the Open Crypto Audit Project for reporting this issue. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES7
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 3b0d0b54a0..e1b33929d5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,13 @@
_______________
Changes between 1.0.2 and 1.1.0 [xx XXX xxxx]
+ *) The return type of BIO_number_read() and BIO_number_written() as well as
+ the corresponding num_read and num_write members in the BIO structure has
+ changed from unsigned long to uint64_t. On platforms where an unsigned
+ long is 32 bits (e.g. Windows) these counters could overflow if >4Gb is
+ transferred.
+ [Matt Caswell]
+
*) Given the pervasive nature of TLS extensions it is inadvisable to run
OpenSSL without support for them. It also means that maintaining
the OPENSSL_NO_TLSEXT option within the code is very invasive (and probably