gendx/lzma-rs

LZMAError("Expected unpacked size of 149198 but decompressed to 483334")'

Aperta

#11 aperta il 9 set 2019

 (8 commenti) (2 reazioni) (0 assegnatari)Rust (37 fork)auto 404
bughelp wanted

Metriche repository

Star
 (151 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Any ideas on what could cause this? Code:

    let mut f = io::BufReader::new(fs::File::open(archive_path).unwrap());
    let mut tar: Vec<u8> = Vec::new();
    lzma_rs::xz_decompress(&mut f, &mut tar).unwrap();

Guida contributor