lofty-rs/lofty/tests/fuzz/mpcfile_read_from.rs
2024-08-24 12:49:14 -04:00

10 lines
307 B
Rust

use lofty::config::ParseOptions;
use lofty::file::AudioFile;
use lofty::musepack::MpcFile;
// Overflow when passing an AAC file to MpcFile::read_from
#[test]
fn panic1() {
let mut reader = crate::get_reader("mpcfile_read_from/output.aac");
let _ = MpcFile::read_from(&mut reader, ParseOptions::new());
}