-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
Description
extern crate brotli;
use std::io::Read;
use brotli::Decompressor;
fn main() {
let mut input = vec![];
let _ = Decompressor::new(&b"\x30\x30\x40\x00\x00\x00\x00\x00".to_vec() as &[u8]).read_to_end(&mut input);
}
coreyf@frewbook-pro /t/meow (master)> cargo run
Running `target/debug/meow`
thread '<main>' panicked at 'index out of bounds: the len is 18 but the index is 18', ../src/libcollections/vec.rs:1110
Process didn't exit successfully: `target/debug/meow` (exit code: 101)
Crash discovered using afl.rs