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 15:49:27 +0000 (15:49 +0000)
commit248385c606620b29ecc96ca9d3603463f879652b
treee439ea3f93afa5af080b823572e38c4d11a996ae
parentfeba02f3919495e1b960c33ba849e10e77d0785d
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 Stephen Henson <steve@openssl.org>
ssl/d1_pkt.c