lofty-rs/fuzz/fuzz_targets/speexfile_read_from.rs

11 lines
199 B
Rust
Raw Normal View History

#![no_main]
use std::io::Cursor;
use libfuzzer_sys::fuzz_target;
use lofty::AudioFile;
fuzz_target!(|data: Vec<u8>| {
let _ = lofty::ogg::SpeexFile::read_from(&mut Cursor::new(data), false);
});