HomeFreeBSD

ktrace: Zero request structures when populating the pool

Description

ktrace: Zero request structures when populating the pool

Otherwise uninitialized pad bytes may be copied into the ktrace log
file.

Reported by: KMSAN
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 5c18bf9d5fd7684024e0a55da1e8537d4cfaf0bf)

Details

Provenance
markjAuthored on Jul 23 2021, 2:29 PM
Parents
rG3e148d60295d: select: Define select_flags[] as const
Branches
Unknown
Tags
Unknown