Commit b8b12aad authored by Matt Caswell's avatar Matt Caswell
Browse files

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: default avatarRichard Levitte <levitte@openssl.org>
parent 54e3ad00
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment