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:14:29 +0000 (14:14 +0000)
commitb2688c91613566db1f42edd4b45f6e17146531b9
tree446cac6cc131f26166abb846df1cbe12ba5ab04a
parentbf6fa208b5c081c041f267c4c0352c686fa8d8a5
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