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

Details

Provenance
melifaroAuthored on Jan 21 2023, 6:03 PM
Parents
rG0079d177ab69: netlink: allow creating sockets with SOCK_DGRAM.
Branches
Unknown
Tags
Unknown