uutils/coreutils

bug: split large -a number cause a panic

Closed

#12,599 opened on Jun 4, 2026

 (0 comments) (0 reactions) (0 assignees)Rust (1,973 forks)batch import
U - splitgood first issue

Repository metrics

Stars
 (23,849 stars)
PR merge metrics
 (Avg merge 5d 23h) (239 merged PRs in 30d)

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