Page MenuHomeFreeBSD

The maximum scale is 6 (K, M, G, T, P, E) (B is 0).
ClosedPublic

Authored by brooks on Apr 12 2017, 10:33 PM.
Tags
None
Referenced Files
F148437071: D10376.diff
Tue, Mar 17, 9:14 PM
Unknown Object (File)
Sat, Mar 14, 4:55 PM
Unknown Object (File)
Sat, Mar 14, 10:16 AM
Unknown Object (File)
Fri, Mar 13, 10:21 PM
Unknown Object (File)
Feb 8 2026, 10:11 AM
Unknown Object (File)
Feb 8 2026, 4:38 AM
Unknown Object (File)
Jan 31 2026, 12:10 PM
Unknown Object (File)
Jan 30 2026, 11:45 PM
Subscribers
None

Details

Summary

Overly large explict scales were checked correctly, but for sufficently
large numbers HN_AUTOSCALE would get to 7 resulting in an out of bounds
read.

Found with humanize_number_test and CHERI bounds checking.

Sponsored by: DARPA, AFRL

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8704
Build 9039: arc lint + arc unit