commit | f33f9ddefbb34584acb73c51e286f9913af96534 | [log] [tgz] |
---|---|---|
author | Matt Caswell <matt@openssl.org> | Wed Mar 01 11:20:30 2017 +0000 |
committer | Matt Caswell <matt@openssl.org> | Thu Mar 02 16:49:28 2017 +0000 |
tree | 5c2129d8bf5ef468e277f6a8903fcdc3d89b1fb6 | |
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)