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 18:56:05 +0000 (19:56 +0100)
commit006a788c84e541c8920dd2ad85fb62b52185c519
tree42963d5ce898f2aa5357765dd54092a901dba58c
parentbc9563f83d28342b5ec0073ec12d9e581e4f3317
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>
ssl/d1_both.c
ssl/s3_both.c