Remove the minimum record length checks from dtls1_read_bytes()
authorjsing <jsing@openbsd.org>
Sat, 26 Mar 2022 15:00:51 +0000 (15:00 +0000)
committerjsing <jsing@openbsd.org>
Sat, 26 Mar 2022 15:00:51 +0000 (15:00 +0000)
commit3cb65c223764579e3383e488c6ba16661f64e70d
treebc97e8bc6b9ea5271741bc864991a54b080d7a40
parent0d8b6eb513ee7f8fd8eeaf4381a9e0cfa7eaa822
Remove the minimum record length checks from dtls1_read_bytes()

The code that handles each record type already has appropriate length
checks. Furthermore, the handling of application data here is likely
incorrect and bypasses the normal state checks at the end of this function.

ok inoguchi@ tb@
lib/libssl/d1_pkt.c