Commit graph

1407 commits

Author SHA1 Message Date
Chris Hennick
151e9362fe Add more experimentally-discovered strings to dictionary 2024-03-03 19:32:25 -08:00
Chris Hennick
f17bc48d70 Fix artifact name collision 2024-03-03 18:37:12 -08:00
Chris Hennick
f52de5c242 Improve fuzzing dictionary to include all valid compression methods and all header signatures 2024-03-03 18:36:38 -08:00
Chris Hennick
dc62999f85 Bug fix: include data file for new test 2024-03-03 18:03:07 -08:00
Chris Hennick
c1afa95706 Refactor: use a zip file with valid metadata 2024-03-03 18:01:31 -08:00
Chris Hennick
f4d5ad7b49 Bug fix: can't run new test if deflate64 is disabled 2024-03-03 18:00:05 -08:00
Chris Hennick
80876aa7e4 Bug fix: incorrect assertion for new test 2024-03-03 17:36:58 -08:00
Chris Hennick
fe3821c4c0 Add test case to reproduce deflate64 error 2024-03-03 17:29:27 -08:00
Chris Hennick
38a903b5cd Fuzz against https://github.com/anatawa12/deflate64-rs/pull/24 2024-03-03 17:28:15 -08:00
Chris Hennick
6636a6c3f3 Enable manual CI runs 2024-02-29 15:52:09 -08:00
Chris Hennick
01671c4a80 Bug fix 2024-02-29 13:23:42 -08:00
Chris Hennick
7491fc86e8 Bug fix 2024-02-29 12:46:17 -08:00
Chris Hennick
779c9d38fc Bug fix 2024-02-29 12:45:49 -08:00
Chris Hennick
5f6546dde3 Timeout fuzz runs after 5h30m to ensure there's time to upload artifacts 2024-02-29 12:41:49 -08:00
Chris Hennick
3f3d78c9ee Bug fix: remove size check since metadata may be wrong 2024-02-29 12:33:40 -08:00
Chris Hennick
e843e67b9f Bug fix: reduce runs to 10k in CI fuzz_write 2024-02-29 10:31:53 -08:00
Chris Hennick
806c5d9fd8 Bug fix: replace max with min 2024-02-29 10:29:52 -08:00
dependabot[bot]
4bb13b8559
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 06:14:06 +00:00
Chris Hennick
ee1ef05fe6 Bug fix: weaken a failing assertion 2024-02-28 20:54:39 -08:00
Chris Hennick
ff1106a8f9 Share fuzz dictionary between fuzz_read and fuzz_write 2024-02-28 20:17:29 -08:00
Chris Hennick
4187dbc0e2 Improve fuzz_read coverage with predefined dictionary 2024-02-28 20:09:41 -08:00
Chris Hennick
60a921d4d4 Increase timeout for fuzzing (improves branch coverage) 2024-02-28 18:41:53 -08:00
Chris Hennick
c4f657281d Bug fix: read timeout should be same with and without default features 2024-02-28 17:44:04 -08:00
Chris Hennick
207e595785 Enable fuzz_read with no default features 2024-02-28 17:43:30 -08:00
Chris Hennick
9113cb6b07 Bug fix: allow invalid compressed files, but verify length if decompression succeeds 2024-02-28 17:28:17 -08:00
Chris Hennick
026a49ffa7 Truncate huge files during read fuzz rather than skipping them 2024-02-28 17:22:43 -08:00
Chris Hennick
e787187cdd Allow files up to 1<<24 bytes in read fuzzing 2024-02-28 17:13:05 -08:00
Chris Hennick
c0f22ec444
Merge pull request #19 from zip-rs/master
in-source vulnerability tracking
2024-02-28 16:57:20 -08:00
Chris Hennick
dfd781a9b3 Update CHANGELOG 2024-02-28 16:54:47 -08:00
Chris Hennick
9324b28e71 Enable DEFLATE64 by default and bump version to 0.10.4 2024-02-28 16:49:30 -08:00
Chris Hennick
11b6f01c75 cargo fmt: remove trailing space 2024-02-28 16:40:43 -08:00
Chris Hennick
3a6eecfa19 #[allow(unknown_lints)] 2024-02-28 16:36:52 -08:00
Chris Hennick
c48b5a558b cargo fmt 2024-02-28 16:28:41 -08:00
Chris Hennick
007918a81f Update dependencies and allow for 64-bit Zopfli compression levels 2024-02-28 16:27:03 -08:00
Chris Hennick
da21bbe45f Remove redundant imports 2024-02-28 16:03:44 -08:00
Chris Hennick
8e33631c31 Bug fix: disable non-nightly toolchains for fuzz for now 2024-02-28 15:58:32 -08:00
Chris Hennick
d36233a7db Enable stable/MSRV builds for fuzz 2024-02-28 15:54:17 -08:00
Chris Hennick
0a2e351999 Bump MSRV to 1.67.0 2024-02-28 15:50:08 -08:00
Chris Hennick
bcc5a91988 Fix clippy error 2024-02-28 15:29:29 -08:00
Chris Hennick
3367c618cf
Suppress invalid_from_utf8 in test where it's intentional 2024-02-28 15:23:01 -08:00
Chris Hennick
7e6c5c38d9
Merge pull request #18 from anatawa12/deflate64-next
Deflate64
2024-02-28 15:18:49 -08:00
lolpro11
94ac6ab68b
add back zstd without default features 2024-01-29 09:58:08 -08:00
lolpro11
d99c9e88a9
add rs versions of libs in order to pass static compiles 2024-01-26 12:51:46 -08:00
Brett Simons
ee044c2a3c
Fix directory check in extract function
The directory check is not robust and fails if the path uses the Windows style path separator and not the unix style. A function "is_dir" already exists and accounts for this so this change switches to using that function instead.
2024-01-02 21:20:13 -05:00
anatawa12
d6fcd355b8
fix: cargo clippy error 2023-10-13 21:49:41 +09:00
anatawa12
ffbf5f7b58
format: cargo fmt 2023-10-13 21:47:05 +09:00
anatawa12
4812d77e5b
Merge remote-tracking branch 'zip-next/master' into deflate64-next 2023-10-13 19:58:44 +09:00
Marli Frost
3e88fe66c9 in-source vulnerability tracking 2023-09-19 18:55:01 +01:00
anatawa12
c82edf6ed2
test: skip deflate64 in compression tests 2023-08-04 23:14:23 +09:00
anatawa12
70c0b164be
chore: use streaming in deflate64 crate 2023-08-04 22:55:48 +09:00