Commit graph

2161 commits

Author SHA1 Message Date
Chris Hennick
2e7d538a30 ci(fuzz): Updated fuzz_read corpus 2024-07-16 17:20:00 +00:00
Benoît du Garreau
2e679997b0 Avoid an intermediary buffer in LZMA decoder 2024-07-16 10:54:52 +02:00
Benoît du Garreau
e9b13121cc Make make_crypto_reader take ZipFileData directly 2024-07-16 10:54:52 +02:00
Benoît du Garreau
deb71baf9b Remove crypto_reader field from ZipFile 2024-07-16 10:54:51 +02:00
Benoît du Garreau
b01d5c9b1f Split reader and decompressor 2024-07-16 10:47:11 +02: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
Danny McClanahan
59630c00c6
fix dead code analysis warning 2024-06-27 15:37:45 -04:00
nichmor
955ea393ee fix: read entire target and dont transform symlink to absoulte 2024-06-26 16:24:04 +03:00
nichmor
3c9b5dbb53 misc: add test to run on unix 2024-06-26 15:50:03 +03:00
nichmor
06a0b4e90e misc: add test that validate the usecase 2024-06-26 15:48:31 +03:00
Chris Hennick
acb05fc42f
test(fuzz): Fix another off-by-one error involving 2-byte exhaustive entries 2024-06-25 20:31:50 -07:00
Chris Hennick
cdc5f71f66
test(fuzz): Fix an off-by-one error affecting corpus entries of the exact maximum length 2024-06-25 20:25:21 -07:00
Chris Hennick
2f53dca454
test(fuzz): Bug fix? Make recursive-fuzz-cmin.sh clean up more conservatively 2024-06-23 22:42:49 -07:00