uutils/coreutils

`seq 4e4000003 4e4000003` is causing an infinite loop

Aperta

#6182 aperta il 2 apr 2024

 (11 commenti) (0 reazioni) (0 assegnatari)Rust (2003 fork)batch import
U - seqgood first issue

Metriche repository

Star
 (23.984 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Looking at seq oss fuzz coverage, I noticed that it wasn't producing much. Writing a fuzz on seq parse number, i noticed that: cargo run seq 4e4000003 4e4000003 is running forever

while GNU is doing:

$ LANG=C /usr/bin/seq 4e4000003 4e4000003
/usr/bin/seq: invalid floating point argument: '4e4000003'

Guida contributor