Follow on from CVE-2014-3571. This fixes the code that was the original source
authorMatt Caswell <matt@openssl.org>
Sat, 3 Jan 2015 00:54:35 +0000 (00:54 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Jan 2015 14:18:52 +0000 (14:18 +0000)
commit50befdb659585b9840264c77708d2dc638624137
treeb0999422a0d8e1c530374f4c70feb318f3869e1f
parent46bf0ba87665c5aa215673d87e9ee7dd4ce28359
Follow on from CVE-2014-3571. This fixes the code that was the original source
of the crash due to p being NULL. Steve's fix prevents this situation from
occuring - however this is by no means obvious by looking at the code for
dtls1_get_record. This fix just makes things look a bit more sane.

Conflicts:
ssl/d1_pkt.c

Reviewed-by: Dr Stephen Henson <steve@openssl.org>
ssl/d1_pkt.c