HomeFreeBSD

linux(4): Prevent integer overflow in futex_requeue.

Description

linux(4): Prevent integer overflow in futex_requeue.

To prevent a signed integer overflow in futex_requeue add a sanity check
to catch negative values of nrwake or nrrequeue.

(cherry picked from commit 25b09d6f398ea8a260ee8e2e8209fd76c61e13ee)

Details

Provenance
dchaginAuthored on Jun 10 2021, 11:23 AM
markjCommitted on Jun 29 2021, 7:58 PM
Parents
rG47722575d948: mkimg: Add fat32lba partition type
Branches
Unknown
Tags
Unknown