From 141fe942b909f48aeaf50668c321336975be0ad7 Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Wed, 31 Jan 2024 14:39:06 +0530 Subject: Fuzz vrrpv2::from_bytes --- fuzz/fuzz_targets/fuzz_target_vrrpv2.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fuzz/fuzz_targets/fuzz_target_vrrpv2.rs (limited to 'fuzz/fuzz_targets') diff --git a/fuzz/fuzz_targets/fuzz_target_vrrpv2.rs b/fuzz/fuzz_targets/fuzz_target_vrrpv2.rs new file mode 100644 index 0000000..ec03ae4 --- /dev/null +++ b/fuzz/fuzz_targets/fuzz_target_vrrpv2.rs @@ -0,0 +1,8 @@ +#![no_main] + +use libfuzzer_sys::fuzz_target; +use vrrpd::vrrpv2; + +fuzz_target!(|data: &[u8]| { + let _ = vrrpv2::from_bytes(data); +}); -- cgit v1.2.3