lofty-rs/fuzz/fuzz_targets/mpcfile_read_from.rs

12 lines
255 B
Rust
Raw Normal View History

2023-05-23 22:46:24 +00:00
#![no_main]
use std::io::Cursor;
use libfuzzer_sys::fuzz_target;
use lofty::config::ParseOptions;
use lofty::file::AudioFile;
2023-05-23 22:46:24 +00:00
fuzz_target!(|data: Vec<u8>| {
let _ = lofty::musepack::MpcFile::read_from(&mut Cursor::new(data), ParseOptions::new());
});