lofty-rs/fuzz/fuzz_targets/mpcfile_read_from.rs
2023-06-06 10:34:37 -04:00

10 lines
232 B
Rust

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