lofty-rs/fuzz/fuzz_targets/mp4file_read_from.rs
2022-01-02 20:53:26 -05:00

10 lines
200 B
Rust

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