diff options
author | Matt Caswell <matt@openssl.org> | 2017-03-01 11:20:30 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-03-02 16:49:28 +0000 |
commit | f33f9ddefbb34584acb73c51e286f9913af96534 (patch) | |
tree | 5c2129d8bf5ef468e277f6a8903fcdc3d89b1fb6 /test | |
parent | c19602b543562104b756aa6adec9bd5081207574 (diff) |
Fix a compression bug
do_ssl3_write() was crashing when compression was enabled. We calculate
the maximum length that a record will be after compression and reserve
those bytes in the WPACKET. Unfortunately we were adding the maximum
compression overhead onto the wrong variable resulting in a corrupted
record.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2814)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions