mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-14 06:32:33 +00:00
9 lines
256 B
Rust
9 lines
256 B
Rust
#![no_main]
|
|
use lofty::ParsingMode;
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
let _ = lofty::Picture::from_flac_bytes(data, true, ParsingMode::Relaxed);
|
|
let _ = lofty::Picture::from_flac_bytes(data, false, ParsingMode::Relaxed);
|
|
});
|