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 13:43:20 +0000 (13:43 +0000)
commit8d7aab986b499f34d9e1bc58fbfd77f05c38116e
treeaf141717443c3028fcf16157fcfcaf3b0339fcad
parente078642ddea29bbb6ba29788a6a513796387fbbb
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