mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-14 06:32:33 +00:00
8c9ec0f178
No idea why all of the targets had `read_properties(false)`.
10 lines
229 B
Rust
10 lines
229 B
Rust
#![no_main]
|
|
|
|
use std::io::Cursor;
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
use lofty::{AudioFile, ParseOptions};
|
|
|
|
fuzz_target!(|data: Vec<u8>| {
|
|
let _ = lofty::ogg::SpeexFile::read_from(&mut Cursor::new(data), ParseOptions::new());
|
|
});
|