HomeFreeBSD

malloc: Unmark KASAN redzones if the full allocation size was requested

Description

malloc: Unmark KASAN redzones if the full allocation size was requested

Consumers that want the full allocation size will typically access the
full buffer, so mark the entire allocation as valid to avoid useless
KASAN reports.

Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Oct 6 2021, 8:03 PM
Parents
rG032a5bd55b3a: fusefs: Fix a bug during VOP_STRATEGY when the server changes file size
Branches
Unknown
Tags
Unknown