lofty-rs/fuzz/fuzz_targets/mpegfile_read_from.rs
Serial 9e82df3893
ID3v2: Extract out util::text_utils
This is used in multiple other places, makes sense to just make these utils global.
2022-08-22 22:26:42 -04:00

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::mpeg::MPEGFile::read_from(&mut Cursor::new(data), false);
});