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:18:16 +0000 (11:18 +0000)
commitfeba02f3919495e1b960c33ba849e10e77d0785d
treea5b21b7ca3be296260a23ed17ce8388c59dd321e
parent4a4d4158572fd8b3dc641851b8378e791df7972d
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