Files
coreutils/tests/numfmt
Sylvestre Ledru 48c4c15e4e tests: numfmt: add checks for overflowing unit sizes
* tests/numfmt/numfmt.pl (@Tests): Add unit-11 and unit-12, ensuring
a --to-unit/--from-unit whose suffix multiplication overflows
uintmax_t is rejected with "invalid unit size" rather than
being wrapped or crashing.

Link: https://github.com/uutils/coreutils/pull/13484

Link: https://github.com/coreutils/coreutils/pull/326
2026-08-12 13:32:12 +01:00
..