From 6aca987fda72992ea58733e20b68eebb3db16d35 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Tue, 28 May 2024 08:48:16 -0700 Subject: [PATCH] ci(fuzz): Bug fix --- fuzz/fuzz_targets/fuzz_write.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzz/fuzz_targets/fuzz_write.rs b/fuzz/fuzz_targets/fuzz_write.rs index 9347277a..a7b808d1 100755 --- a/fuzz/fuzz_targets/fuzz_write.rs +++ b/fuzz/fuzz_targets/fuzz_write.rs @@ -215,7 +215,7 @@ where } fuzz_target!(|test_case: FuzzTestCase| { - let mut file_added = false; + let mut files_added = 0; let mut writer = zip::ZipWriter::new(Cursor::new(Vec::new())); writer.set_raw_comment(test_case.comment); let mut final_reopen = false; @@ -232,7 +232,7 @@ fuzz_target!(|test_case: FuzzTestCase| { &operation, *abort, test_case.flush_on_finish_file, - &mut file_added + &mut files_added ); } if final_reopen {