Commit graph

1573 commits

Author SHA1 Message Date
Chris Hennick
3168c1cf91
Make CONTRIBUTING.md link to pull_request_template.md
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 19:41:26 -07:00
Chris Hennick
72e2d95321
Update pull_request_template.md
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 19:39:52 -07:00
Chris Hennick
8fa0d590d9
Create pull_request_template.md
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 19:34:24 -07:00
Chris Hennick
af776797f0
Merge pull request #104 from zip-rs/release-plz-2024-05-08T04-49-16Z
chore: release v1.2.2
2024-05-09 11:05:52 -07:00
Chris
972d6be583 chore: release
Signed-off-by: Chris <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 05:28:19 +00:00
Chris Hennick
769fff2035
Merge pull request #101 from Jake-Shadle/master
Remove `num_enum`
2024-05-09 00:22:21 +00:00
Chris Hennick
c39f5e8f9e
ci(fuzz): Update fuzz_write corpus to account for shift from Vec<_> to Box<[_]> 2024-05-08 19:28:23 -07:00
Chris Hennick
13a964317d
ci(fuzz): Update fuzz_write corpus to account for shift from Vec<_> to Box<[_]> 2024-05-08 19:14:19 -07:00
Chris Hennick
bd473ef75b
perf: Use boxed slice for archive comment, since it can't be concatenated 2024-05-08 15:36:12 -07:00
Chris Hennick
d996593016
ci(fuzz): Optimize final read-back, and skip it if redundant 2024-05-08 15:15:50 -07:00
Chris Hennick
ed35b9f0e5
Merge branch 'master' into master 2024-05-08 13:38:09 -07:00
Chris Hennick
298f7f5994
ci(fuzz): Reduce fuzz_write to 1e6 iterations 2024-05-08 13:27:28 -07:00
Chris Hennick
5460c9f2cc
ci(fuzz): Test using max_len=500 for fuzz_write 2024-05-08 13:26:45 -07:00
Chris Hennick
43df557932
ci(fuzz): Use a more aggressive timeout for fuzz_write 2024-05-08 12:28:31 -07:00
Chris Hennick
9790fbfa28
ci(fuzz): Further minify fuzz-write corpus 2024-05-08 12:27:30 -07:00
Chris Hennick
eb063ad432
perf: Optimize for the fact that false signatures can't overlap with real ones 2024-05-08 10:59:32 -07:00
Chris Hennick
50767eb84a
ci(fuzz): Update fuzz_read seed corpus 2024-05-08 10:48:01 -07:00
Chris Hennick
9455a279be
ci(fuzz): Update fuzz_write seed corpus 2024-05-08 10:45:28 -07:00
Chris Hennick
010720fc54
Merge branch 'master' into master 2024-05-07 22:13:53 -07:00
Chris Hennick
0c9be885cb
style: Fix more conditionally-unused imports 2024-05-07 22:09:30 -07:00
Chris Hennick
d5b4c6186d
style: Fix conditionally-unused import 2024-05-07 21:52:11 -07:00
Chris Hennick
15f124f181
style: Fix formatting and Clippy warnings 2024-05-07 21:50:52 -07:00
Chris Hennick
72ef0bf1d6
Merge branch 'master' into master 2024-05-07 21:48:36 -07:00
Chris Hennick
6d7c7fa57a
fix: Failed to clear "writing_raw" before finishing a symlink, leading to dropped extra fields 2024-05-07 21:47:49 -07:00
Jake Shadle
224fc60a9b
Remove num_enum 2024-05-07 08:16:34 +02:00
Chris Hennick
c134f08019
test(fuzz): Update fuzz_read corpus 2024-05-06 19:53:42 -07:00
Chris Hennick
7a77132144
test(fuzz): Additional rounds of fuzz_write corpus reduction 2024-05-06 19:53:40 -07:00
Chris Hennick
dbb8dfc321
test(fuzz): Create seed corpus for fuzz_write 2024-05-06 19:53:37 -07:00
Chris Hennick
dd9497bee7
test(fuzz): Update .gitignore to allow separate corpora for fuzz_read and fuzz_write 2024-05-06 19:53:33 -07:00
Chris Hennick
14c1729d10
ci: Increase fuzz_write runs since they're finishing before fuzz_read 2024-05-06 19:53:32 -07:00
Chris Hennick
b725303cce
Merge pull request #103 from zip-rs/release-plz-2024-05-06T17-54-03Z
chore: release v1.2.1
2024-05-06 19:22:01 -07:00
Chris
a1f239980e chore: release
Signed-off-by: Chris <4961925+Pr0methean@users.noreply.github.com>
2024-05-06 23:44:12 +00:00
Chris Hennick
f7ab2ae506
fix: Prevent panic when trying to read a file with an unsupported compression method 2024-05-06 16:43:04 -07:00
Chris Hennick
7f46b77da2
ci: Upload leak reports if fuzz fails 2024-05-06 16:11:10 -07:00
Chris Hennick
d13031cc14
fix: Prevent panic after reading an invalid LZMA file 2024-05-06 16:08:41 -07:00
Chris Hennick
8868a11d23
test(fuzz): Fix a fuzz-read bug when finishing LZMA 2024-05-06 15:53:12 -07:00
Chris Hennick
b277298d7f
test(fuzz): Fix: need to accept FileNotFound from abort 2024-05-06 15:14:09 -07:00
Chris Hennick
162c9b7281
test(fuzz): Fix bugs that were breaking the fuzz test 2024-05-06 14:41:51 -07:00
Chris Hennick
447f9c6e4f
refactor: Overhaul impl Arbitrary for FileOptions 2024-05-06 14:20:27 -07:00
Chris Hennick
845c3ec91f
refactor: Remove unused atomic module 2024-05-06 14:14:25 -07:00
Chris Hennick
0e1b1688be
test(fuzz): Cover read_zipfile_from_stream, finish_into_readable and merge_archive in fuzzing 2024-05-06 14:10:40 -07:00
Chris Hennick
0518194ae2
style: cargo fmt --all 2024-05-06 13:07:19 -07:00
Chris Hennick
eb4777c129
fix: Make Stored the default compression method if Deflated isn't available, so that zip files are readable by as much software as possible 2024-05-06 13:00:43 -07:00
Chris Hennick
c8d1be86b3
Merge pull request #80 from kyrias/aes-encryption3
Add AES encryption write support
2024-05-06 18:54:37 +00:00
Chris Hennick
3ff9428e66
Merge branch 'master' into aes-encryption3
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-06 11:44:55 -07:00
Chris Hennick
2cff4ec936
test: Update reference version-needed-to-open in unit tests (cont'd) 2024-05-06 11:43:01 -07:00
Chris Hennick
ad292ffbd2
test: Update reference version-needed-to-open in unit tests 2024-05-06 11:34:25 -07:00
Chris Hennick
61d56318bf
style: Fix fmt and clippy warnings 2024-05-06 11:24:46 -07:00
Chris Hennick
51ef4f0f30
test: Update test_path_normalization to match corrected requirements 2024-05-06 11:17:21 -07:00
Chris Hennick
c2fe20741c
fix: version_needed was wrong when e.g. cfg(bzip2) but current file wasn't bzip2 (#100) 2024-05-06 11:16:16 -07:00