From 08ec7ca7107c189ee2214f8267eda16d2edd2bdf Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Thu, 4 May 2023 16:18:48 -0700 Subject: [PATCH] Remove extra data from struct since we're not using it --- fuzz/fuzz_targets/fuzz_write.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/fuzz/fuzz_targets/fuzz_write.rs b/fuzz/fuzz_targets/fuzz_write.rs index 0e1d57fe..eb700cf9 100644 --- a/fuzz/fuzz_targets/fuzz_write.rs +++ b/fuzz/fuzz_targets/fuzz_write.rs @@ -4,18 +4,10 @@ use libfuzzer_sys::fuzz_target; use arbitrary::Arbitrary; use std::io::{Cursor, Read, Seek, Write}; -#[derive(Arbitrary,Debug)] -pub struct ExtraData { - pub header_id: u16, - pub data: Vec -} - #[derive(Arbitrary,Debug)] pub struct File { pub name: String, - pub contents: Vec>, - pub local_extra_data: Vec, - pub central_extra_data: Vec + pub contents: Vec> } #[derive(Arbitrary,Debug)]