mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2025-01-06 09:18:45 +00:00
103387fa26
None of the fuzz targets have been touched in awhile, so they haven't been compiling for most of the year probably.
9 lines
282 B
Rust
9 lines
282 B
Rust
#![no_main]
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
use lofty::config::ParsingMode;
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
let _ = lofty::picture::Picture::from_flac_bytes(data, true, ParsingMode::Relaxed);
|
|
let _ = lofty::picture::Picture::from_flac_bytes(data, false, ParsingMode::Relaxed);
|
|
});
|