uutils/coreutils

bug: split large -a number cause a panic

已關閉

#12,599 建立於 2026年6月4日

 (0 則留言) (0 個反應) (0 位負責人)Rust (1,981 個分叉)batch import
U - splitgood first issue

倉庫指標

星標
 (23,893 顆星)
PR 合併指標
 (平均合併 5天 23小時) (30 天內合併 239 個 PR)

描述

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

貢獻者指南