]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cksum: fix --length validation on 32 bit platforms
authorPádraig Brady <P@draigBrady.com>
Thu, 16 Apr 2026 19:37:28 +0000 (20:37 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 16 Apr 2026 19:40:34 +0000 (20:40 +0100)
commit852c056889bb39207af3c8af80eeefd2e98b29f3
treefb0a8965d5adc046c6f610183d08a4fb3f5fbadc
parent0b7d8620f74db8515ad2d1cb95a945cd407ac6bc
cksum: fix --length validation on 32 bit platforms

Fix an unreleased issue due to the recent change
to using idx_t in commit v9.10-91-g02983e493

* src/cksum.c (main): Limit the possible return to
the range supported by idx_t.
Reported by Bruno Haible.
src/cksum.c