From a86a1f99a3a4c77e8db327f209e86fb73469e693 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Sun, 21 May 2023 11:37:59 -0700 Subject: [PATCH] Bug fix for fuzz_write.rs --- fuzz/fuzz_targets/fuzz_write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/fuzz_targets/fuzz_write.rs b/fuzz/fuzz_targets/fuzz_write.rs index 13b536b6..9ff43a47 100644 --- a/fuzz/fuzz_targets/fuzz_write.rs +++ b/fuzz/fuzz_targets/fuzz_write.rs @@ -72,7 +72,7 @@ fn do_operation(writer: &mut RefCell>, } } if operation.abort { - writer.abort_file().unwrap(); + writer.borrow_mut().abort_file().unwrap(); } if operation.reopen { let new_writer = zip_next::ZipWriter::new_append(writer.borrow_mut().finish().unwrap()).unwrap();