uutils/coreutils

bug: split large -a number cause a panic

Open

#12,599 opened on Jun 4, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (23,246 stars) (1,852 forks)batch import
U - splitgood first issue

Description

Hi, uutils mainateners

i tried

relunsec@relunsec:~/software/coreutils/target/debug$ ./split -a 66542562175252
memory allocation of 66542562175252 bytes failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted                    (core dumped) ./split -a 66542562175252

vs the gnu version behavior

relunsec@relunsec:~/software/coreutils/target/debug$ gnusplit -a 66542562175252

it does not panic but rust uutil version yees

Contributor guide