mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-14 14:42:33 +00:00
11 lines
201 B
Rust
11 lines
201 B
Rust
|
#![no_main]
|
||
|
|
||
|
use std::io::Cursor;
|
||
|
|
||
|
use lofty::AudioFile;
|
||
|
use libfuzzer_sys::fuzz_target;
|
||
|
|
||
|
fuzz_target!(|data: Vec<u8>| {
|
||
|
let _ = lofty::ogg::OpusFile::read_from(&mut Cursor::new(data), false);
|
||
|
});
|