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 13:43:20 +0000 (13:43 +0000)
commit45fe66b8ba026186aa5d8ef1e0e6010ea74d5c0b
tree0577f9a360cc0c60bd395316e0e7153e0205cdc4
parent8d7aab986b499f34d9e1bc58fbfd77f05c38116e
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.

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