-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
Description
Environment: Ubuntu 24.04, uutils main branch (git commit 2430e2a), GNU coreutils v9.4
Steps to reproduce:
printf 1234 > file
dd bs=1 skip=9223372036854775808 count=0 <file
What happens now: uutils dd complains about skipping but still proceeds as usual:
dd: 'standard input': cannot skip to specified offset
0+0 records in
0+0 records out
0 bytes copied, 0.00015169 s, 0.0 B/s
What I expected to happen: GNU dd terminates immediately with an error message that the value of the skip argument is too large:
dd: invalid number: '9223372036854775808': Value too large for defined data type
Notes: this is causing a failure in the GNU test file tests/dd/skip-seek-past-file.sh.