lofty-rs/fuzz/fuzz_targets/vorbisfile_read_from.rs
2022-09-24 02:34:22 -04:00

13 lines
261 B
Rust

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