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
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33953

Details

Provenance
markjAuthored on Jan 20 2022, 8:42 PM
Reviewer
jhb
Differential Revision
D33953: ktls: Zero out TLS_GET_RECORD control messages
Parents
rGd91d2b513eb3: geom: Handle partial I/O in g_{read,write,delete}_data()
Branches
Unknown
Tags
Unknown