Commit graph

  • b635a7d7e3
    style: Fix more Clippy warnings Chris Hennick 2024-06-14 00:21:52 -07:00
  • 94df73ea04
    chore: Fix boxed_local warning (can borrow instead) Chris Hennick 2024-06-14 00:17:21 -07:00
  • cbb180a316
    docs: Refine a comment Chris Hennick 2024-06-14 00:04:44 -07:00
  • 30bbd0f7c8
    test: Suppress needless_update for unit tests Chris Hennick 2024-06-14 00:03:37 -07:00
  • e555f8c770
    test: Fix a bug Chris Hennick 2024-06-14 00:00:37 -07:00
  • 348611f62b
    test: Fix a bug Chris Hennick 2024-06-13 23:54:01 -07:00
  • ce323636de
    test: Fix a build error with --no-default-features Chris Hennick 2024-06-13 23:48:23 -07:00
  • 16f619d9f2
    chore: Partial debug Chris Hennick 2024-06-13 23:44:37 -07:00
  • 6b93d358d5
    chore: Fix more errors when parsing multiple extra fields Chris Hennick 2024-06-13 23:11:32 -07:00
  • 290fd97013
    chore: Fix an error when decoding AES header Chris Hennick 2024-06-13 23:01:46 -07:00
  • 32f946e788
    chore: Fix an error caused by not allowing 0xa11e field Chris Hennick 2024-06-13 22:59:02 -07:00
  • 60f7c637e6
    test: Fix more build errors in no-default-features build Chris Hennick 2024-06-13 22:46:05 -07:00
  • 0ad79e9ab3
    test: Fix a build error when unreserved was disabled Chris Hennick 2024-06-13 22:43:48 -07:00
  • 9e12b6db0c
    chore: Bug fix: crypto_header was being counted toward extra_data_end Chris Hennick 2024-06-13 22:41:47 -07:00
  • 7f641d23a3
    chore: Bug fix: revert a change where crypto_header was incorrectly treated as an extra field Chris Hennick 2024-06-13 22:29:22 -07:00
  • bf3e7510a6
    chore: Fix a bug where a modulo of 0 was used Chris Hennick 2024-06-13 22:22:56 -07:00
  • 3436a569ab
    style: cargo fmt --all Chris Hennick 2024-06-13 22:20:58 -07:00
  • aa896ce992
    chore: Fix a bug when ZipCrypto, alignment *and* a custom header are used Chris Hennick 2024-06-13 22:19:18 -07:00
  • 7b2e31ca7f
    chore: Fix a bug when both ZipCrypto and alignment are used Chris Hennick 2024-06-13 21:43:21 -07:00
  • 0d9fd0da0b
    chore: Fix another bug: header_end vs extra_data_end Chris Hennick 2024-06-13 21:39:09 -07:00
  • 0f0ef1dd96
    chore: Fix use of a stale value in a debug_assert_eq! Chris Hennick 2024-06-13 21:35:55 -07:00
  • 40d2da84f7
    test: Fix a type mismatch in implementation of Arbitrary Chris Hennick 2024-06-13 21:32:43 -07:00
  • 19e5af8406
    fix: Fix a bug where alignment padding interacts with other extra-data fields Chris Hennick 2024-06-13 21:29:17 -07:00
  • 88b4ae30b4
    fix: Fix bugs involving alignment padding and Unicode extra fields Chris Hennick 2024-06-13 20:52:45 -07:00
  • 1e118199f7
    fix: Incorrect header when adding AES-encrypted files Chris Hennick 2024-06-13 19:24:54 -07:00
  • 0bd2fe11d7
    fix: Parse the extra field and reject it if invalid Chris Hennick 2024-06-13 17:48:54 -07:00
  • 14c590740e
    style: Remove unneeded mut Chris Hennick 2024-06-13 14:52:46 -07:00
  • 3eb2a0464b
    perf: Skip searching for the ZIP32 header if a valid ZIP64 header is present (#189) Chris Hennick 2024-06-13 14:18:36 -07:00
  • a06fbaca08
    style: Fix unused import Chris Hennick 2024-06-13 13:55:38 -07:00
  • 77e718864d
    fix: Incorrect behavior following a rare combination of merge_archive, abort_file and deep_copy_file. As well, we now return an error when a file is being copied to itself. Chris Hennick 2024-06-13 13:49:27 -07:00
  • 5aadcb758a
    style: Remove unneeded 'static Chris Hennick 2024-06-12 21:50:17 -07:00
  • e950efc8c5 Extend timeout during fuzzing Chris Hennick 2024-06-13 04:44:05 +00:00
  • 68f0a2f481
    style: Change len() == 0 to is_empty() Chris Hennick 2024-06-12 21:42:08 -07:00
  • 057224f9a2
    style: Remove unneeded parens Chris Hennick 2024-06-12 21:40:39 -07:00
  • 5bc1ba910f
    fix: path_to_string now properly handles the case of an empty path Chris Hennick 2024-06-12 21:39:06 -07:00
  • 826384d39f Update fuzz-corpus scripts Chris Hennick 2024-06-13 03:40:30 +00:00
  • 8d7c403921 Update fuzz_write corpus (any further improvement would cause OOM or timeout Chris Hennick 2024-06-13 03:39:08 +00:00
  • e28d57f228 WIP: update fuzz_write corpus Chris Hennick 2024-06-08 20:27:34 +00:00
  • 0d487aa43e ci(fuzz): Ensure 8GiB is available during Chris Hennick 2024-06-08 02:59:25 +00:00
  • 232bbc612e Increase iteration to 20M runs or 30 min Chris Hennick 2024-06-08 00:38:06 +00:00
  • efb438cd37 Use fewer threads for fuzz-until-converged when Hyper-Threading is enabled Chris Hennick 2024-06-07 22:55:25 +00:00
  • a53d8e3fbd Increase iteration to 15M runs or 15 minutes Chris Hennick 2024-06-07 21:51:52 +00:00
  • 3422c9586b Use longer fuzz iterations to reduce overhead of repeated cmin Chris Hennick 2024-06-07 20:47:04 +00:00
  • b9469063c7 Update to 1.3.2 Chris Hennick 2024-06-07 20:25:18 +00:00
  • f094aa18d3 Remove one more unneeded file from fuzz_read corpus Chris Hennick 2024-06-07 19:24:50 +00:00
  • 56384a7745 Log the iterations without improvement Chris Hennick 2024-06-07 19:05:47 +00:00
  • 49ea546adf Further tweaks to fuzz_read corpus Chris Hennick 2024-06-07 18:59:32 +00:00
  • 6366d45949
    fix: Implement Debug for ZipWriter even when it's not implemented for the inner writer's type Chris Hennick 2024-06-11 20:12:13 -07:00
  • cf19487a55
    chore: Fix: may still get an incorrect size if opening an invalid file for append Chris Hennick 2024-06-08 15:22:31 -07:00
  • 73396be9f9
    chore: Fix: may need the absolute start as tiebreaker to ensure deterministic behavior Chris Hennick 2024-06-08 15:13:09 -07:00
  • 894e0ad44c
    fix: Fix an issue where the central directory could be incorrectly detected Chris Hennick 2024-06-08 15:10:08 -07:00
  • 6abe26d757
    ci(fuzz): Fix build errors Chris Hennick 2024-06-08 14:32:57 -07:00
  • f3bb677511
    fix: finish_into_readable() would corrupt the archive if the central directory had moved Chris Hennick 2024-06-08 14:27:28 -07:00
  • 5bb31e3558
    ci(fuzz): Bug fix: debug output was missing set_flush_on_finish_file Chris Hennick 2024-06-08 14:19:14 -07:00
  • 62b9c53651
    ci(fuzz): Bug fix for missing path arg Chris Hennick 2024-06-08 13:55:16 -07:00
  • df9c71700e
    ci(fuzz): Fine-tune some Debug implementations Chris Hennick 2024-06-08 13:50:52 -07:00
  • 383d72427c
    ci(fuzz): Fix build errors in Debug implementations Chris Hennick 2024-06-08 13:35:38 -07:00
  • 2333a847f7
    ci(fuzz): Fix inaccuracies in cargo fuzz fmt Chris Hennick 2024-06-08 13:26:45 -07:00
  • a0845c781d Update fuzz_read corpus Chris Hennick 2024-06-07 18:06:14 +00:00
  • c458eb9df5 Tweak fuzz-until-converged: try 5 iterations before quitting, and set iteration to 5 minutes Chris Hennick 2024-06-07 18:00:56 +00:00
  • 2be782065c
    Combine corpora with new blank-slate corpora Chris Hennick 2024-06-06 15:19:38 -07:00
  • d6d7145cd0
    ci(fuzz): Bug fixes and tweaks for fuzz scripts Chris Hennick 2024-06-06 15:18:29 -07:00
  • ca37dbc74e
    ci(fuzz): Bug fixes for CI fuzz runs Chris Hennick 2024-06-06 08:54:38 -07:00
  • c30a2d928d
    ci(fuzz): Update fuzz corpora Chris Hennick 2024-06-05 18:51:39 -07:00
  • dd1bfaf309
    ci(fuzz): Update fuzz corpora Chris Hennick 2024-06-05 18:38:22 -07:00
  • 360b4bff93
    ci(fuzz): Update fuzz_write seed corpus Chris Hennick 2024-06-04 18:29:01 -07:00
  • c0773d5564
    ci(fuzz): Update fuzz_read seed corpus and fix a bug in update script Chris Hennick 2024-06-04 17:22:02 -07:00
  • a7b89a7674
    ci(fuzz): Perform cmin recursively in CI Chris Hennick 2024-06-04 17:06:46 -07:00
  • c9619c2b71
    ci(fuzz): Exit from recursive-fuzz-cmin.sh when it's done Chris Hennick 2024-06-04 10:04:43 -07:00
  • b5eb25d52f
    Merge pull request #188 from zip-rs/release-plz-2024-06-04T17-06-20Z Chris Hennick 2024-06-05 00:52:54 +00:00
  • cb076226f0
    chore: release Chris Hennick 2024-06-04 10:06:22 -07:00
  • 5c77e93616
    ci(fuzz): Update fuzz_write seed corpus Chris Hennick 2024-06-04 09:58:39 -07:00
  • 0fef68b68f
    ci(fuzz): Update fuzz_read seed corpus Chris Hennick 2024-06-04 09:34:33 -07:00
  • fce5e0a2d3
    test: Add regression tests for #159 Chris Hennick 2024-06-04 09:29:33 -07:00
  • e052842d78
    style: cargo fmt --all Chris Hennick 2024-06-04 08:58:17 -07:00
  • b4970dd80f
    test: Delete a unit test that's no longer needed Chris Hennick 2024-06-04 08:55:33 -07:00
  • 362a1123b5
    ci(fuzz): Limit Zopfli buffer size to fix OOMEs Chris Hennick 2024-06-04 08:38:05 -07:00
  • b7bec1c2dd
    fix: Some date/time filters were previously unreliable (i.e. later-pass filters had no earliest-pass or latest-fail, and vice-versa) Chris Hennick 2024-06-03 22:35:40 -07:00
  • cb50ca1213
    test: Bug fix? Explicitly type int that may become as large as 3 << 29 Chris Hennick 2024-06-03 21:12:54 -07:00
  • 7ffcfce916
    ci: Bug fix? Make rss_limit_mb a more reasonable 8GiB Chris Hennick 2024-06-03 21:07:57 -07:00
  • 7025689066
    ci: Bug fix? Set memory (rss) limits Chris Hennick 2024-06-03 20:55:59 -07:00
  • c06f49b153
    ci(fuzz): Fix: T::arbitrary returns Result Chris Hennick 2024-06-03 20:43:49 -07:00
  • 17c406ce69
    ci(fuzz): Add new fuzz_write corpus entries from a recent run Chris Hennick 2024-06-03 20:38:32 -07:00
  • 808ecbd7a2
    ci(fuzz): Increase inner max runtime to 345 minutes and outer to 350 minutes Chris Hennick 2024-06-03 20:36:44 -07:00
  • c0cc03c0e7
    style: cargo fmt --all Chris Hennick 2024-06-03 20:25:36 -07:00
  • ad218a6c9c
    ci(fuzz): Allow zopfli_buffer_size to be 3 * power of 2 Chris Hennick 2024-06-03 20:23:46 -07:00
  • 8f32bb91b4
    ci(fuzz): Remove .gitkeep files in dirs that are now ignored Chris Hennick 2024-06-03 18:14:02 -07:00
  • c3944cdcd6
    ci(fuzz): Increase fuzz_write iterations when time allows, but also ensure resilience when time limit is reached Chris Hennick 2024-06-03 18:09:39 -07:00
  • 6afffaefb7
    test: Update an integration test case Chris Hennick 2024-06-03 17:47:52 -07:00
  • d1680b85a6
    ci(fuzz): Delete old fuzz_write entries missed in previous commit Chris Hennick 2024-06-03 17:46:00 -07:00
  • 8cee006e47
    refactor: Return extended timestamp fields copied rather than borrowed (#183) Chris Hennick 2024-06-03 17:42:48 -07:00
  • 7c1761813d
    ci(fuzz): Tweak .gitignore Chris Hennick 2024-06-03 17:35:11 -07:00
  • dab0787ddf
    ci(fuzz): Update fuzz_write corpus Chris Hennick 2024-06-03 17:30:11 -07:00
  • 05f0972678
    ci(fuzz): Update .gitignore so intermediate versions of the fuzz corpus aren't committed Chris Hennick 2024-06-03 17:22:22 -07:00
  • 58237dbff5
    ci(fuzz): Update fuzz corpus Chris Hennick 2024-06-03 12:27:03 -07:00
  • 9cc845d7fa
    Merge pull request #182 from zip-rs/utf8_extra_fields Chris Hennick 2024-06-03 10:45:45 +00:00
  • 97245ad68d
    chore: Fix a new Clippy warning Chris Hennick 2024-06-02 22:04:15 -07:00
  • 2725416c0d
    chore: Fix a bug and inline deserialize for safety Chris Hennick 2024-06-02 22:00:44 -07:00
  • eacc320fe0
    chore: Add check for wrong-length blocks, and incorporate fixed-size requirement into the trait name Chris Hennick 2024-06-02 21:48:21 -07:00
  • 9218599b40
    chore: Fix a fuzz failure by using checked_sub Chris Hennick 2024-06-02 21:16:55 -07:00