HomeFreeBSD

netlink: fix OOB write when creating attribute bitmask.

Description

netlink: fix OOB write when creating attribute bitmask.

Fix wrong arithmetics by moving to the standard bitset(9) functions.

Reported by: markj, KASAN

(cherry picked from commit 10f2a38769c7b2fa210a3ea077d3185448479013)

Details

Provenance
melifaroAuthored on Jan 21 2023, 6:03 PM
Parents
rGeb310021a4f6: netlink: add snl(3) manpage to the build
Branches
Unknown
Tags
Unknown