Fix an Uninit read in DTLS
authorMatt Caswell <matt@openssl.org>
Wed, 28 Sep 2016 13:12:26 +0000 (14:12 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 29 Sep 2016 08:58:14 +0000 (09:58 +0100)
commit2f2d6e3e3ccd1ae7bba9f1af62f97dfca986e083
tree74030b2ce8d0924918959244763f2e9287a309aa
parent55386bef807c7edd0f1db036c0ed464b28a61d68
Fix an Uninit read in DTLS

If we have a handshake fragment waiting then dtls1_read_bytes() was not
correctly setting the value of recvd_type, leading to an uninit read.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/record/rec_layer_d1.c