mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-14 06:32:33 +00:00
9e82df3893
This is used in multiple other places, makes sense to just make these utils global.
10 lines
199 B
Rust
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);
|
|
});
|