You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ls: --block-size=0 is accepted when --si comes later #16008
$ touch a.txt
$ ls --block-size=0 --si a.txt; echo $?
GNU:
ls: invalid --block-size argument '0'
2
uutils prints a.txt and exits 0. ls -h --block-size=0 is already rejected correctly, but the block size is not validated when --si or -h comes after it.
Reported in #15254 (found by a differential fuzzer; reproduced against GNU coreutils 9.12).
Activity
Seemanshi2104 commentedon Nov 2, 2026
Hi, I’d like to work on this
tests: ls: ensure ls rejects --block-size=0 regardless of later size …
tests: ls: ensure --block-size=0 is rejected despite later size options
tests: ls: ensure --block-size=0 is rejected despite later size options