lofty-rs/fuzz/fuzz_targets/aifffile_read_from.rs
Serial 8c9ec0f178 Fuzz: Read properties in file read targets
No idea why all of the targets had `read_properties(false)`.
2023-10-22 23:32:44 -04:00

10 lines
234 B
Rust

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