Fix crash in dtls1_get_record whilst in the listen state where you get two
authorDr. Stephen Henson <steve@openssl.org>
Sat, 3 Jan 2015 00:45:13 +0000 (00:45 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Jan 2015 11:25:45 +0000 (11:25 +0000)
commitbf6fa208b5c081c041f267c4c0352c686fa8d8a5
treee28930add3cc38e473554bcc5ad13e111dc3e63d
parenteb37b6aa41c2916c386bce5872b0f90dc22b4247
Fix crash in dtls1_get_record whilst in the listen state where you get two
separate reads performed - one for the header and one for the body of the
handshake record.

CVE-2014-3571

Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/d1_pkt.c
ssl/s3_pkt.c