HomeFreeBSD

Fix off-by-one error in bit_nclear() usage

Description

Fix off-by-one error in bit_nclear() usage

bit_nclear() takes the bit numbers for the start and end bits, not the start
and a count. This was resulting in memory corruption past the end of the
bitstr_t.

Sponsored by: Limelight Networks

Details

Provenance
shurdAuthored on
Parents
rS326032: Print ZAC device type in "camcontrol identify" output
Branches
Unknown
Tags
Unknown