Commit graph

2161 commits

Author SHA1 Message Date
Chris Hennick
b635a7d7e3
style: Fix more Clippy warnings 2024-06-14 00:21:52 -07:00
Chris Hennick
94df73ea04
chore: Fix boxed_local warning (can borrow instead) 2024-06-14 00:17:21 -07:00
Chris Hennick
cbb180a316
docs: Refine a comment 2024-06-14 00:04:44 -07:00
Chris Hennick
30bbd0f7c8
test: Suppress needless_update for unit tests 2024-06-14 00:03:37 -07:00
Chris Hennick
e555f8c770
test: Fix a bug 2024-06-14 00:00:37 -07:00
Chris Hennick
348611f62b
test: Fix a bug 2024-06-13 23:54:01 -07:00
Chris Hennick
ce323636de
test: Fix a build error with --no-default-features 2024-06-13 23:48:23 -07:00
Chris Hennick
16f619d9f2
chore: Partial debug 2024-06-13 23:44:37 -07:00
Chris Hennick
6b93d358d5
chore: Fix more errors when parsing multiple extra fields 2024-06-13 23:11:32 -07:00
Chris Hennick
290fd97013
chore: Fix an error when decoding AES header 2024-06-13 23:01:46 -07:00
Chris Hennick
32f946e788
chore: Fix an error caused by not allowing 0xa11e field 2024-06-13 22:59:02 -07:00
Chris Hennick
60f7c637e6
test: Fix more build errors in no-default-features build 2024-06-13 22:46:05 -07:00
Chris Hennick
0ad79e9ab3
test: Fix a build error when unreserved was disabled 2024-06-13 22:43:48 -07:00
Chris Hennick
9e12b6db0c
chore: Bug fix: crypto_header was being counted toward extra_data_end 2024-06-13 22:41:47 -07:00
Chris Hennick
7f641d23a3
chore: Bug fix: revert a change where crypto_header was incorrectly treated as an extra field 2024-06-13 22:29:22 -07:00
Chris Hennick
bf3e7510a6
chore: Fix a bug where a modulo of 0 was used 2024-06-13 22:22:56 -07:00
Chris Hennick
3436a569ab
style: cargo fmt --all 2024-06-13 22:20:58 -07:00
Chris Hennick
aa896ce992
chore: Fix a bug when ZipCrypto, alignment *and* a custom header are used 2024-06-13 22:19:18 -07:00
Chris Hennick
7b2e31ca7f
chore: Fix a bug when both ZipCrypto and alignment are used 2024-06-13 21:43:21 -07:00
Chris Hennick
0d9fd0da0b
chore: Fix another bug: header_end vs extra_data_end 2024-06-13 21:39:09 -07:00
Chris Hennick
0f0ef1dd96
chore: Fix use of a stale value in a debug_assert_eq! 2024-06-13 21:35:55 -07:00
Chris Hennick
40d2da84f7
test: Fix a type mismatch in implementation of Arbitrary 2024-06-13 21:32:43 -07:00
Chris Hennick
19e5af8406
fix: Fix a bug where alignment padding interacts with other extra-data fields 2024-06-13 21:29:17 -07:00
Chris Hennick
88b4ae30b4
fix: Fix bugs involving alignment padding and Unicode extra fields 2024-06-13 20:52:45 -07:00
Chris Hennick
1e118199f7
fix: Incorrect header when adding AES-encrypted files 2024-06-13 19:24:54 -07:00
Chris Hennick
0bd2fe11d7
fix: Parse the extra field and reject it if invalid 2024-06-13 17:48:54 -07:00
Chris Hennick
14c590740e
style: Remove unneeded mut 2024-06-13 14:52:46 -07:00
Chris Hennick
3eb2a0464b
perf: Skip searching for the ZIP32 header if a valid ZIP64 header is present (#189) 2024-06-13 14:18:36 -07:00
Chris Hennick
a06fbaca08
style: Fix unused import 2024-06-13 13:55:38 -07:00
Chris Hennick
77e718864d
fix: Incorrect behavior following a rare combination of merge_archive, abort_file and deep_copy_file. As well, we now return an error when a file is being copied to itself. 2024-06-13 13:49:27 -07:00
Chris Hennick
5aadcb758a
style: Remove unneeded 'static 2024-06-12 21:50:25 -07:00
Chris Hennick
e950efc8c5 Extend timeout during fuzzing 2024-06-13 04:45:04 +00:00
Chris Hennick
68f0a2f481
style: Change len() == 0 to is_empty() 2024-06-12 21:42:08 -07:00
Chris Hennick
057224f9a2
style: Remove unneeded parens 2024-06-12 21:40:39 -07:00
Chris Hennick
5bc1ba910f
fix: path_to_string now properly handles the case of an empty path 2024-06-12 21:39:17 -07:00
Chris Hennick
826384d39f Update fuzz-corpus scripts 2024-06-13 03:40:41 +00:00
Chris Hennick
8d7c403921 Update fuzz_write corpus (any further improvement would cause OOM or timeout 2024-06-13 03:40:41 +00:00
Chris Hennick
e28d57f228 WIP: update fuzz_write corpus 2024-06-13 03:40:41 +00:00
Chris Hennick
0d487aa43e ci(fuzz): Ensure 8GiB is available during 2024-06-13 03:40:40 +00:00
Chris Hennick
232bbc612e Increase iteration to 20M runs or 30 min 2024-06-13 03:40:40 +00:00
Chris Hennick
efb438cd37 Use fewer threads for fuzz-until-converged when Hyper-Threading is enabled 2024-06-13 03:40:40 +00:00
Chris Hennick
a53d8e3fbd Increase iteration to 15M runs or 15 minutes 2024-06-13 03:40:40 +00:00
Chris Hennick
3422c9586b Use longer fuzz iterations to reduce overhead of repeated cmin 2024-06-13 03:40:40 +00:00
Chris Hennick
b9469063c7 Update to 1.3.2 2024-06-13 03:40:40 +00:00
Chris Hennick
f094aa18d3 Remove one more unneeded file from fuzz_read corpus 2024-06-13 03:40:40 +00:00
Chris Hennick
56384a7745 Log the iterations without improvement 2024-06-13 03:40:40 +00:00
Chris Hennick
49ea546adf Further tweaks to fuzz_read corpus 2024-06-13 03:40:40 +00:00
Chris Hennick
6366d45949
fix: Implement Debug for ZipWriter even when it's not implemented for the inner writer's type 2024-06-11 20:12:13 -07:00
Chris Hennick
cf19487a55
chore: Fix: may still get an incorrect size if opening an invalid file for append 2024-06-08 15:23:27 -07:00
Chris Hennick
73396be9f9
chore: Fix: may need the absolute start as tiebreaker to ensure deterministic behavior 2024-06-08 15:13:09 -07:00