lofty-rs/lofty/tests/fuzz/flacfile_read_from.rs
2024-07-14 15:10:36 -04:00

16 lines
441 B
Rust

use crate::{get_reader, oom_test};
use lofty::config::ParseOptions;
use lofty::file::AudioFile;
use lofty::flac::FlacFile;
#[test]
fn oom1() {
oom_test::<FlacFile>("flacfile_read_from/oom-9268264e9bc5e2124e4d63cbff8cff0b0dec6644");
}
#[test]
fn panic1() {
let mut reader =
get_reader("flacfile_read_from/flac_with_id3v2_IDX_39_RAND_108668567929800767822112.flac");
let _ = FlacFile::read_from(&mut reader, ParseOptions::default());
}