lofty-rs/fuzz/fuzz_targets/wavpackfile_read_from.rs

11 lines
205 B
Rust
Raw Normal View History

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