HomeFreeBSD

The alignment is passed into contigmalloc_domainset in the 7th argument.

Description

The alignment is passed into contigmalloc_domainset in the 7th argument.

KUBSAN was complaining the pointer contigmalloc_domainset returned was
misaligned. Fix this by using the correct argument to find the alignment
in the function signature.

Reported by: KUBSAN
MFC after: 2 weeks
Sponsored by: DARPA, AFRL

Details

Committed
andrewMay 28 2019, 10:55 AM
Parents
rS348322: Teach the kernel KUBSAN runtime about alignment_assumption
Branches
Unknown
Tags
Unknown