aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/fuzz/fuzz_targets/serverbound_config.rs
blob: d2a13d1dc44a9b1ff90d03c1eb18c07bafa6344d (plain)
1
2
3
4
5
6
7
8
9
10
#![no_main]

use std::io::Cursor;

use azalea_protocol::{packets::config::ServerboundConfigPacket, read::deserialize_packet};
use libfuzzer_sys::fuzz_target;

fuzz_target!(|data: &[u8]| {
    let _ = deserialize_packet::<ServerboundConfigPacket>(&mut Cursor::new(data));
});