Make message buffer slightly larger than message.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 21 Sep 2016 12:26:01 +0000 (13:26 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 21 Sep 2016 19:01:32 +0000 (20:01 +0100)
commitbb1a4866034255749ac578adb06a76335fc117b1
treee1c4acdc5025feb8b059db4e484f6cf37b39b1e4
parent8289755d54e4cf34d502c630613d1dba60e30830
Make message buffer slightly larger than message.

Grow TLS/DTLS 16 bytes more than strictly necessary as a precaution against
OOB reads. In most cases this will have no effect because the message buffer
will be large enough already.

Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 006a788c84e541c8920dd2ad85fb62b52185c519)
ssl/d1_both.c
ssl/s3_both.c