Commit graph

  • 0ccff2a2e7 Test with --max_len=4700 Chris Hennick 2024-03-07 17:29:00 -08:00
  • 643ab65d76 Test with --max_len=4600 Chris Hennick 2024-03-07 17:26:29 -08:00
  • f19b8f2229 Revert "Test with --len-control=5000" Chris Hennick 2024-03-07 17:16:39 -08:00
  • 8243dc52ad Test with --len-control=5000 Chris Hennick 2024-03-07 17:08:12 -08:00
  • e803ac62db Revert "Revert "Test with len_control of 10k (suitable if max_len <= len_control * iteration)"" Chris Hennick 2024-03-07 17:07:25 -08:00
  • 5148ad0258 Revert "Test with len_control of 10k (suitable if max_len <= len_control * iteration)" Chris Hennick 2024-03-07 16:39:29 -08:00
  • a4fe690043 Revert "Test fuzzing with debug symbols" Chris Hennick 2024-03-07 16:31:09 -08:00
  • 9a1fd62481 Revert "Bug fix: RUSTFLAGS doesn't work to set profile, so set it in each cargo call" Chris Hennick 2024-03-07 16:31:08 -08:00
  • fd6630afd2 Bug fix: RUSTFLAGS doesn't work to set profile, so set it in each cargo call Chris Hennick 2024-03-07 16:24:34 -08:00
  • ef9438122a Test fuzzing with debug symbols Chris Hennick 2024-03-07 16:21:59 -08:00
  • 6338242154 Bug fix: dir_end was being set incorrectly Chris Hennick 2024-03-07 15:23:56 -08:00
  • 5e03f43f9a Fix failing tests other than deflate64 bug 25 Chris Hennick 2024-03-07 15:16:04 -08:00
  • e23ba853d3 Remove comment field from Shared to avoid unnecessary copying Chris Hennick 2024-03-07 14:43:40 -08:00
  • 8efd2339cf Overhaul read logic to perform *all* validations before accepting a central directory as the real one Chris Hennick 2024-03-07 14:34:40 -08:00
  • eb3c5ede64
    Merge pull request #20 from Pr0methean/dependabot/github_actions/actions/upload-artifact-4 Chris Hennick 2024-03-07 10:55:26 -08:00
  • 5cf1172a49
    Merge branch 'master' into dependabot/github_actions/actions/upload-artifact-4 Chris Hennick 2024-03-07 10:55:17 -08:00
  • 7403496f9b
    Merge pull request #15 from Pr0methean/dependabot/github_actions/actions/checkout-4 Chris Hennick 2024-03-07 10:54:59 -08:00
  • be49def529 Replace hard-coded byte array with data file Chris Hennick 2024-03-06 12:34:51 -08:00
  • ce11179be3 Add test case for https://github.com/anatawa12/deflate64-rs/issues/25 Chris Hennick 2024-03-04 17:35:12 -08:00
  • 64494b7927 Lower len_control for fuzz_write Chris Hennick 2024-03-04 16:52:43 -08:00
  • 650d494271 Test with len_control of 10k (suitable if max_len <= len_control * iteration) Chris Hennick 2024-03-04 15:21:29 -08:00
  • 7c1c367493 Test with extreme len_control of 1000 Chris Hennick 2024-03-04 15:13:42 -08:00
  • 1bbe2b83ae Bug fix: artifact names and paths were wrong for no_features fuzzes Chris Hennick 2024-03-04 15:07:53 -08:00
  • 6c8e3fcedb Test using len_control option to limit early lengths Chris Hennick 2024-03-04 14:57:56 -08:00
  • eee10a7ed0 Revert "Test with multiple runs that use different length limits" Chris Hennick 2024-03-04 14:56:05 -08:00
  • bacdc687d4 Revert "Start fuzz_read with just a 1k limit" Chris Hennick 2024-03-04 14:56:04 -08:00
  • ad9884169e Revert "Add a 2KiB step between 1K and 4K" Chris Hennick 2024-03-04 14:56:02 -08:00
  • 9efd5cbd22 Add a 2KiB step between 1K and 4K Chris Hennick 2024-03-04 14:39:31 -08:00
  • 340bf58eeb Start fuzz_read with just a 1k limit Chris Hennick 2024-03-04 14:18:08 -08:00
  • 167ebccee4 Test with multiple runs that use different length limits Chris Hennick 2024-03-04 14:15:00 -08:00
  • f0faff3fee
    Bump actions/upload-artifact from 3 to 4 dependabot[bot] 2024-03-04 21:02:11 +00:00
  • e9b48fb15a Test with fuzz_read length limit of just 2KiB Chris Hennick 2024-03-04 13:00:17 -08:00
  • 2603cd88fe Bug fix: fuzz_write_with_no_features was too short Chris Hennick 2024-03-04 12:51:28 -08:00
  • ee14de3420 Increase max_len for fuzz_read to 8K to ensure we converge on high coverage Chris Hennick 2024-03-04 12:39:59 -08:00
  • 97ac845b79 Test using fuzz's experimental fork mode Chris Hennick 2024-03-04 12:17:19 -08:00
  • 9eea46f28a Test more aggressive length limits Chris Hennick 2024-03-04 12:08:30 -08:00
  • 38b5e4effe Revert "Test using 4-byte & 6-byte strings of \xFF and \x00" Chris Hennick 2024-03-04 11:50:47 -08:00
  • e49577a151 Bug fix for fuzzing without default features Chris Hennick 2024-03-04 11:48:37 -08:00
  • 3e82e21614 Test using 4-byte & 6-byte strings of \xFF and \x00 Chris Hennick 2024-03-04 11:43:07 -08:00
  • 0331aed531 Test using \xFF\xFF as dictionary entry but no other experimentally-discovered strings Chris Hennick 2024-03-04 11:21:30 -08:00
  • 577b00c120 Test using only even-length dictionary entries Chris Hennick 2024-03-04 11:13:16 -08:00
  • 05da2def6e Bug fix: can't use octal literals in dictionary Chris Hennick 2024-03-04 11:06:10 -08:00
  • c10679ba1c Bug fix: can't mix octal with hex escapes? Chris Hennick 2024-03-04 10:59:53 -08:00
  • 3fbfe8406e Revert "Test with no experimentally-discovered strings in fuzz.dict" Chris Hennick 2024-03-04 10:58:39 -08:00
  • 5409596748 Revert "Test without "PK" and "KP" in fuzz.dict" Chris Hennick 2024-03-04 10:58:38 -08:00
  • 6ddcb8f53c Test with attainable maximum lengths Chris Hennick 2024-03-03 19:57:53 -08:00
  • 0ec4b49970 Bug fix: include CompressionMethod::Stored Chris Hennick 2024-03-03 19:52:41 -08:00
  • 6ba7fc9fd1 Test without "PK" and "KP" in fuzz.dict Chris Hennick 2024-03-03 19:51:18 -08:00
  • be428e93b3 Test with no experimentally-discovered strings in fuzz.dict Chris Hennick 2024-03-03 19:50:27 -08:00
  • c38494b93c Shorten fuzz_read to prevent timeouts given the added complexity of deflate64 Chris Hennick 2024-03-03 19:43:06 -08:00
  • 151e9362fe Add more experimentally-discovered strings to dictionary Chris Hennick 2024-03-03 19:32:25 -08:00
  • f17bc48d70 Fix artifact name collision Chris Hennick 2024-03-03 18:37:12 -08:00
  • f52de5c242 Improve fuzzing dictionary to include all valid compression methods and all header signatures Chris Hennick 2024-03-03 18:36:38 -08:00
  • dc62999f85 Bug fix: include data file for new test Chris Hennick 2024-03-03 18:03:07 -08:00
  • c1afa95706 Refactor: use a zip file with valid metadata Chris Hennick 2024-03-03 18:01:31 -08:00
  • f4d5ad7b49 Bug fix: can't run new test if deflate64 is disabled Chris Hennick 2024-03-03 18:00:05 -08:00
  • 80876aa7e4 Bug fix: incorrect assertion for new test Chris Hennick 2024-03-03 17:36:58 -08:00
  • fe3821c4c0 Add test case to reproduce deflate64 error Chris Hennick 2024-03-02 18:13:59 -08:00
  • 38a903b5cd Fuzz against https://github.com/anatawa12/deflate64-rs/pull/24 Chris Hennick 2024-03-03 17:28:15 -08:00
  • 6636a6c3f3 Enable manual CI runs Chris Hennick 2024-02-29 15:52:09 -08:00
  • 01671c4a80 Bug fix Chris Hennick 2024-02-29 13:23:42 -08:00
  • 7491fc86e8 Bug fix Chris Hennick 2024-02-29 12:46:17 -08:00
  • 779c9d38fc Bug fix Chris Hennick 2024-02-29 12:45:49 -08:00
  • 5f6546dde3 Timeout fuzz runs after 5h30m to ensure there's time to upload artifacts Chris Hennick 2024-02-29 12:41:49 -08:00
  • 3f3d78c9ee Bug fix: remove size check since metadata may be wrong Chris Hennick 2024-02-29 12:33:40 -08:00
  • e843e67b9f Bug fix: reduce runs to 10k in CI fuzz_write Chris Hennick 2024-02-29 10:31:53 -08:00
  • 806c5d9fd8 Bug fix: replace max with min Chris Hennick 2024-02-29 10:29:52 -08:00
  • 4bb13b8559
    Bump actions/checkout from 3 to 4 dependabot[bot] 2024-02-29 06:14:06 +00:00
  • ee1ef05fe6 Bug fix: weaken a failing assertion Chris Hennick 2024-02-28 20:54:39 -08:00
  • ff1106a8f9 Share fuzz dictionary between fuzz_read and fuzz_write Chris Hennick 2024-02-28 20:17:29 -08:00
  • 4187dbc0e2 Improve fuzz_read coverage with predefined dictionary Chris Hennick 2024-02-28 20:09:41 -08:00
  • 60a921d4d4 Increase timeout for fuzzing (improves branch coverage) Chris Hennick 2024-02-28 18:41:53 -08:00
  • c4f657281d Bug fix: read timeout should be same with and without default features Chris Hennick 2024-02-28 17:44:04 -08:00
  • 207e595785 Enable fuzz_read with no default features Chris Hennick 2024-02-28 17:43:30 -08:00
  • 9113cb6b07 Bug fix: allow invalid compressed files, but verify length if decompression succeeds Chris Hennick 2024-02-28 17:28:17 -08:00
  • 026a49ffa7 Truncate huge files during read fuzz rather than skipping them Chris Hennick 2024-02-28 17:22:43 -08:00
  • e787187cdd Allow files up to 1<<24 bytes in read fuzzing Chris Hennick 2024-02-28 17:12:54 -08:00
  • c0f22ec444
    Merge pull request #19 from zip-rs/master Chris Hennick 2024-02-28 16:57:20 -08:00
  • dfd781a9b3 Update CHANGELOG Chris Hennick 2024-02-28 16:54:47 -08:00
  • 9324b28e71 Enable DEFLATE64 by default and bump version to 0.10.4 Chris Hennick 2024-02-28 16:49:30 -08:00
  • 11b6f01c75 cargo fmt: remove trailing space Chris Hennick 2024-02-28 16:40:43 -08:00
  • 3a6eecfa19 #[allow(unknown_lints)] Chris Hennick 2024-02-28 16:36:52 -08:00
  • c48b5a558b cargo fmt Chris Hennick 2024-02-28 16:28:41 -08:00
  • 007918a81f Update dependencies and allow for 64-bit Zopfli compression levels Chris Hennick 2024-02-28 16:27:03 -08:00
  • da21bbe45f Remove redundant imports Chris Hennick 2024-02-28 16:01:31 -08:00
  • 8e33631c31 Bug fix: disable non-nightly toolchains for fuzz for now Chris Hennick 2024-02-28 15:58:32 -08:00
  • d36233a7db Enable stable/MSRV builds for fuzz Chris Hennick 2024-02-28 15:54:17 -08:00
  • 0a2e351999 Bump MSRV to 1.67.0 Chris Hennick 2024-02-28 15:50:08 -08:00
  • bcc5a91988 Fix clippy error Chris Hennick 2024-02-28 15:29:29 -08:00
  • 3367c618cf
    Suppress invalid_from_utf8 in test where it's intentional Chris Hennick 2024-02-28 15:23:01 -08:00
  • 7e6c5c38d9
    Merge pull request #18 from anatawa12/deflate64-next Chris Hennick 2024-02-28 15:18:49 -08:00
  • 94ac6ab68b
    add back zstd without default features lolpro11 2024-01-29 09:58:08 -08:00
  • d99c9e88a9
    add rs versions of libs in order to pass static compiles lolpro11 2024-01-26 12:51:46 -08:00
  • ee044c2a3c
    Fix directory check in extract function Brett Simons 2024-01-02 21:20:13 -05:00
  • d6fcd355b8
    fix: cargo clippy error anatawa12 2023-10-13 21:49:41 +09:00
  • ffbf5f7b58
    format: cargo fmt anatawa12 2023-10-13 21:47:05 +09:00
  • 4812d77e5b
    Merge remote-tracking branch 'zip-next/master' into deflate64-next anatawa12 2023-10-13 19:58:44 +09:00
  • 3e88fe66c9 in-source vulnerability tracking Marli Frost 2023-09-19 18:55:01 +01:00
  • c82edf6ed2
    test: skip deflate64 in compression tests anatawa12 2023-08-04 23:14:23 +09:00
  • 70c0b164be
    chore: use streaming in deflate64 crate anatawa12 2023-08-04 22:55:48 +09:00