lofty-rs/fuzz/fuzz_targets/opusfile_read_from.rs

11 lines
201 B
Rust
Raw Normal View History

2022-01-03 01:53:26 +00:00
#![no_main]
use std::io::Cursor;
use lofty::AudioFile;
use libfuzzer_sys::fuzz_target;
fuzz_target!(|data: Vec<u8>| {
let _ = lofty::ogg::OpusFile::read_from(&mut Cursor::new(data), false);
});