gendx/lzma-rs

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

Open

#11 opened on Sep 9, 2019

 (8 comments) (2 reactions) (0 assignees)Rust (37 forks)auto 404
bughelp wanted

Repository metrics

Stars
 (151 stars)
PR merge metrics
 (PR metrics pending)

Description

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();

Contributor guide