HomeFreeBSD

Import commit from NetBSD with checkin message:

Description

Import commit from NetBSD with checkin message:

Avoid Undefined Behavior in ffs_clusteracct()

Change the type of 'bit' variable from int to unsigned int and use unsigned
values consistently.

sys/ufs/ffs/ffs_subr.c:336:10, shift exponent -1 is negative

Detected with Kernel Undefined Behavior Sanitizer.

Reported by <Harry Pantazis>

Submitted by: Pedro Giffuni

Details

Provenance
mckusickAuthored on
Parents
rS336073: Add support to the imx watchdog for the FDT "timeout-sec" property, by
Branches
Unknown
Tags
Unknown