#![no_main] use libfuzzer_sys::fuzz_target; fuzz_target!(|data: &[u8]| { if let Ok(s) = std::str::from_utf8(data) { if let Ok(origin) = dns_core::proto::rr::Name::from_ascii("example.") { let _ = dns_core::zonefile::parse_str(s, &origin, None); } } });