uutils/coreutils

bug: split large -a number cause a panic

Chiusa

#12.599 aperta il 4 giu 2026

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (1981 fork)batch import
U - splitgood first issue

Metriche repository

Star
 (23.893 stelle)
Metriche merge PR
 (Merge medio 5g 23h) (239 PR mergiate in 30 g)

Descrizione

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

Guida contributor