lofty-rs/fuzz/fuzz_targets/speexfile_read_from.rs

11 lines
229 B
Rust
Raw Normal View History

#![no_main]
use std::io::Cursor;
use libfuzzer_sys::fuzz_target;
2022-09-24 06:34:22 +00:00
use lofty::{AudioFile, ParseOptions};
fuzz_target!(|data: Vec<u8>| {
let _ = lofty::ogg::SpeexFile::read_from(&mut Cursor::new(data), ParseOptions::new());
});