Handle compression methods correctly with SSLv2 compat ClientHello
authorMatt Caswell <matt@openssl.org>
Mon, 31 Oct 2016 12:47:20 +0000 (12:47 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 9 Nov 2016 09:10:29 +0000 (09:10 +0000)
commit4bfe1432c8d82ffaa99c01085da0520b6090567d
tree3843b178b62e6df73a018d17686ee7894f6bb8d1
parent1ab3836b3bb8ccfa4da7ce529d420e750cd56b32
Handle compression methods correctly with SSLv2 compat ClientHello

In the case of an SSLv2 compat ClientHello we weren't setting up the
compression methods correctly, which could lead to uninit reads or crashes.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/statem/statem_srvr.c