lofty-rs/fuzz/fuzz_targets/flacfile_read_from.rs

10 lines
199 B
Rust

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