HomeFreeBSD

ktls: Zero out TLS_GET_RECORD control messages

Description

ktls: Zero out TLS_GET_RECORD control messages

Otherwise we end up copying one uninitialized byte into the socket
buffer.

Reported by: KMSAN
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 6be8944d96d2cb5938b69c63b483efa616eafb56)

Details

Provenance
markjAuthored on Jan 20 2022, 8:42 PM
Parents
rGb2e2412d150c: geli: Add a chicken switch for unmapped I/O
Branches
Unknown
Tags
Unknown