mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2025-01-23 09:25:00 +00:00
14 lines
258 B
Rust
14 lines
258 B
Rust
|
#![no_main]
|
||
|
|
||
|
use std::io::Cursor;
|
||
|
|
||
|
use libfuzzer_sys::fuzz_target;
|
||
|
use lofty::{AudioFile, ParseOptions};
|
||
|
|
||
|
fuzz_target!(|data: Vec<u8>| {
|
||
|
let _ = lofty::aac::AACFile::read_from(
|
||
|
&mut Cursor::new(data),
|
||
|
ParseOptions::new().read_properties(false),
|
||
|
);
|
||
|
});
|