Commit graph

2118 commits

Author SHA1 Message Date
Chris Hennick
6106a2bf0b
Merge pull request #201 from nichmor/fix/soft-links-should-remain-the-same
fix: soft links should remain the same
2024-07-18 17:26:17 +00:00
Chris Hennick
03dd55773e
Merge pull request #218 from zip-rs/fuzz-write-no-feat-40m
ci(fuzz): Run fuzz_write_with_no_features only 40m times
2024-07-18 01:11:45 +00:00
Chris Hennick
e48686a9d2
ci(fuzz): Run fuzz_write_with_no_features only 40m times 2024-07-17 14:31:10 -07:00
Chris Hennick
6b797b1ba9
Merge pull request #64 from zip-rs/oldpr368
feat: Added function to get if a file is encrypted or not
2024-07-17 17:25:50 +00:00
Chris Hennick
5632e7f25a
Merge pull request #69 from zip-rs/oldpr369
feat: Add by_name_seek() for Stored zips
2024-07-17 17:25:19 +00:00
Chris Hennick
b8c145717b
Merge pull request #212 from a1phyr/improve_unsafe_code
refactor: Improve `FixedSizeBlock`
2024-07-17 17:24:58 +00:00
Chris Hennick
97d0a345f1
Merge pull request #66 from zip-rs/oldpr373
feat: Add ZipWriter::set_file_metadata()
2024-07-17 17:23:33 +00:00
Chris Hennick
fd119850e8
Merge pull request #206 from zip-rs/dependabot/github_actions/dependabot/fetch-metadata-2.2.0
ci(deps): bump dependabot/fetch-metadata from 2.1.0 to 2.2.0
2024-07-17 17:23:07 +00:00
Chris Hennick
5cfae807f5
Merge pull request #216 from zip-rs/dependabot/cargo/fuzz/tikv-jemallocator-0.6.0
test(fuzz)(deps): update tikv-jemallocator requirement from 0.5.4 to 0.6.0 in /fuzz
2024-07-17 17:22:39 +00:00
Chris Hennick
97bb7ad563
Merge pull request #217 from zip-rs/fuzz-progressive-sizes
ci(fuzz): Update fuzz corpora with WIP versions
2024-07-17 02:01:57 +00:00
Chris Hennick
27ddf22677 Merge remote-tracking branch 'origin/fuzz-progressive-sizes' into fuzz-progressive-sizes 2024-07-16 21:50:50 +00:00
Chris Hennick
2e7d538a30 ci(fuzz): Updated fuzz_read corpus 2024-07-16 17:20:00 +00:00
Chris Hennick
dc1d596f4a
Merge branch 'master' into fuzz-progressive-sizes 2024-07-15 15:16:49 -07:00
Chris Hennick
53cb364575 Merge remote-tracking branch 'origin/master' into fuzz-progressive-sizes 2024-07-15 22:10:33 +00:00
Chris Hennick
86568263c6
fix: Panic when reading a file truncated in the middle of an XZ block header 2024-07-15 15:07:21 -07:00
Chris Hennick
be6a46e74e ci(fuzz): Update fuzz corpora with WIP versions 2024-07-15 21:54:43 +00:00
Chris Hennick
43db4be237
Update src/write.rs
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-07-15 09:04:41 -07:00
Chris Hennick
bde1bb9ef1
Merge branch 'master' into fix/soft-links-should-remain-the-same 2024-07-15 09:01:34 -07:00
dependabot[bot]
d8360cf89a
test(fuzz)(deps): update tikv-jemallocator requirement in /fuzz
Updates the requirements on [tikv-jemallocator](https://github.com/tikv/jemallocator) to permit the latest version.
- [Release notes](https://github.com/tikv/jemallocator/releases)
- [Changelog](https://github.com/tikv/jemallocator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tikv/jemallocator/commits)

---
updated-dependencies:
- dependency-name: tikv-jemallocator
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 10:41:06 +00:00
Alphyr
1e7085fd10
Merge pull request #45 from zip-rs/oldpr441
fix: Improve several `Read` methods on `ZipFile`
2024-07-15 08:34:57 +00:00
Chris Hennick
4b57e8f72b
Merge pull request #213 from zip-rs/fuzz-progressive-sizes
test(fuzz): Commit new work-in-progress seed corpus
2024-07-14 01:58:08 +00:00
Chris Hennick
4a54d13472 test(fuzz): Commit work-in-progress new seed corpus 2024-07-13 19:58:48 +00:00
Benoît du Garreau
7a8048b159 Improve FixedSizeBlock
- Remove allocations
- Make unsafe code easier to check
- Prevent potential `repr(Rust)` fields reordering
2024-07-12 11:11:17 +02:00
Benoît du Garreau
83b1273fab Improve several Read methods on ZipFile 2024-07-11 14:31:31 +02:00
Chris Hennick
b4b0784d54 Add new fuzz_write corpus entries 2024-07-08 16:06:48 +00:00
Chris Hennick
a5b92af578
Merge branch 'refs/heads/master' into fuzz-progressive-sizes 2024-07-08 08:59:38 -07:00
Chris Hennick
6ec1824cb4
Revert "test(fuzz): Make the choice of no dictionary explicit"
This reverts commit 5917dff39b.
2024-07-08 08:57:54 -07:00
nichmor
a3232a2119
Merge branch 'master' into fix/soft-links-should-remain-the-same 2024-07-08 17:15:38 +03:00
Chris Hennick
014b8b78a7
test(fuzz): Refactor: don't need to fuzz all the way to convergence *before* merging in old inputs 2024-07-07 10:27:01 -07:00
Chris Hennick
5917dff39b
test(fuzz): Make the choice of no dictionary explicit 2024-07-06 16:09:57 -07:00
Chris Hennick
0453cf0ebf
test(fuzz): Refactor: move and re-create directory rather than contents, when possible 2024-07-06 16:07:33 -07:00
Chris Hennick
57f01ba946
chore: Fix build errors 2024-07-06 14:26:37 -07:00
Chris Hennick
8635b16316
Merge branch 'master' into oldpr368 2024-07-06 12:38:27 -07:00
Chris Hennick
4dfa32f666
Merge branch 'master' into oldpr373
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-07-06 12:29:01 -07:00
Chris Hennick
1d551ff23c
Merge branch 'master' into oldpr369
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-07-06 12:19:59 -07:00
Chris Hennick
b61fd1198e
doc: Commit signing is no longer required
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-07-06 11:59:33 -07:00
Chris Hennick
270fcde96f
test: Require _deflate-any to run new test 2024-07-06 11:56:36 -07:00
Chris Hennick
81b6cf51a3
style: cargo fmt --all 2024-07-05 09:06:05 -07:00
Chris Hennick
80b0025831
test: Remove shell-script version of new test, and move Rust version to a new file 2024-07-05 09:05:51 -07:00
Chris Hennick
d45bdccc6a
Merge pull request #199 from yujincheng08/xz
feat: Support XZ decompression
2024-07-05 15:52:38 +00:00
dependabot[bot]
e378a9b0eb
ci(deps): bump dependabot/fetch-metadata from 2.1.0 to 2.2.0
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05 10:29:02 +00:00
Chris Hennick
cbdaa704ac
Merge pull request #205 from zip-rs/fuzz-jemalloc
test(fuzz): Use jemalloc for performance reasons
2024-07-05 00:13:44 +00:00
Chris Hennick
3c0cf961db
Merge branch 'refs/heads/master' into fuzz-jemalloc 2024-07-04 10:54:32 -07:00
Chris Hennick
76343ca80e
Merge pull request #203 from cosmicexplorer/fix-nightly-ci
fix dead code analysis warning
2024-07-04 10:53:21 -07:00
Chris Hennick
4facc3ab54
test(fuzz): Use jemalloc for fuzz tests 2024-07-04 10:52:04 -07:00
Chris Hennick
319fafdefe
test(fuzz): Increase runs per fuzz_until_converged.sh iteration to 25m when time allows 2024-06-29 20:01:15 -07:00
Chris Hennick
11db7c83ce
test(fuzz): Refactor: avoid moving final restart out of fuzz_write and back 2024-06-29 19:10:21 -07:00
Chris Hennick
2852cc83ba
test(fuzz): Use 8 restarts at each size instead of 13 2024-06-29 14:12:04 -07:00
Chris Hennick
90c419ab19
test(fuzz): Bug fix: can set -euxo pipefail in recursive-fuzz-cmin.sh 2024-06-28 23:53:22 -07:00
Chris Hennick
9d650d568b
test(fuzz): Bug fix: find was missing -type f 2024-06-28 10:49:36 -07:00