Commit graph

  • 7a77132144
    test(fuzz): Additional rounds of fuzz_write corpus reduction Chris Hennick 2024-05-06 18:48:11 -07:00
  • dbb8dfc321
    test(fuzz): Create seed corpus for fuzz_write Chris Hennick 2024-05-06 18:37:34 -07:00
  • dd9497bee7
    test(fuzz): Update .gitignore to allow separate corpora for fuzz_read and fuzz_write Chris Hennick 2024-05-06 18:36:30 -07:00
  • 14c1729d10
    ci: Increase fuzz_write runs since they're finishing before fuzz_read Chris Hennick 2024-05-06 18:34:53 -07:00
  • b725303cce
    Merge pull request #103 from zip-rs/release-plz-2024-05-06T17-54-03Z Chris Hennick 2024-05-06 19:22:01 -07:00
  • a1f239980e chore: release Chris 2024-05-06 23:44:12 +00:00
  • f7ab2ae506
    fix: Prevent panic when trying to read a file with an unsupported compression method Chris Hennick 2024-05-06 16:43:04 -07:00
  • 7f46b77da2
    ci: Upload leak reports if fuzz fails Chris Hennick 2024-05-06 16:11:10 -07:00
  • d13031cc14
    fix: Prevent panic after reading an invalid LZMA file Chris Hennick 2024-05-06 16:08:41 -07:00
  • 8868a11d23
    test(fuzz): Fix a fuzz-read bug when finishing LZMA Chris Hennick 2024-05-06 15:38:25 -07:00
  • b277298d7f
    test(fuzz): Fix: need to accept FileNotFound from abort Chris Hennick 2024-05-06 15:14:09 -07:00
  • 162c9b7281
    test(fuzz): Fix bugs that were breaking the fuzz test Chris Hennick 2024-05-06 14:41:51 -07:00
  • 447f9c6e4f
    refactor: Overhaul impl Arbitrary for FileOptions Chris Hennick 2024-05-06 14:20:27 -07:00
  • 845c3ec91f
    refactor: Remove unused atomic module Chris Hennick 2024-05-06 14:14:25 -07:00
  • 0e1b1688be
    test(fuzz): Cover read_zipfile_from_stream, finish_into_readable and merge_archive in fuzzing Chris Hennick 2024-05-06 14:10:40 -07:00
  • 0518194ae2
    style: cargo fmt --all Chris Hennick 2024-05-06 13:07:19 -07:00
  • eb4777c129
    fix: Make Stored the default compression method if Deflated isn't available, so that zip files are readable by as much software as possible Chris Hennick 2024-05-06 13:00:29 -07:00
  • c8d1be86b3
    Merge pull request #80 from kyrias/aes-encryption3 Chris Hennick 2024-05-06 18:54:37 +00:00
  • 3ff9428e66
    Merge branch 'master' into aes-encryption3 Chris Hennick 2024-05-06 11:44:55 -07:00
  • 2cff4ec936
    test: Update reference version-needed-to-open in unit tests (cont'd) Chris Hennick 2024-05-06 11:43:01 -07:00
  • ad292ffbd2
    test: Update reference version-needed-to-open in unit tests Chris Hennick 2024-05-06 11:34:25 -07:00
  • 61d56318bf
    style: Fix fmt and clippy warnings Chris Hennick 2024-05-06 11:24:46 -07:00
  • 51ef4f0f30
    test: Update test_path_normalization to match corrected requirements Chris Hennick 2024-05-06 11:17:21 -07:00
  • c2fe20741c
    fix: version_needed was wrong when e.g. cfg(bzip2) but current file wasn't bzip2 (#100) Chris Hennick 2024-05-06 11:16:16 -07:00
  • e1ef3fc65c
    fix: file paths shouldn't start with slashes (#102) Chris Hennick 2024-05-06 10:52:52 -07:00
  • 97ddf84546
    Don't try to encrypt directories Johannes Löthberg 2024-05-06 11:52:33 +02:00
  • d824fc2088
    Make crypto validate methods return ZipError when signifying invalid passwords Johannes Löthberg 2024-05-03 10:50:22 +02:00
  • d096e4dbf1
    Add support for writing AES-encrypted files Johannes Löthberg 2024-05-02 12:22:42 +02:00
  • 80dc8f2484
    Add compression method to AES info Johannes Löthberg 2024-05-02 12:08:52 +02:00
  • a17578990b
    Add AesWriter Johannes Löthberg 2023-03-31 13:46:58 +02:00
  • 7c1e21403f
    Wrap AesCtrZipKeyStream in inner Cipher enum Johannes Löthberg 2023-05-08 17:02:29 +02:00
  • 026b26bcdb
    Merge pull request #97 from zip-rs/release-plz-2024-05-06T01-31-43Z Chris Hennick 2024-05-06 07:29:50 -07:00
  • 3fe87e998e chore: release Chris 2024-05-06 08:20:05 +00:00
  • d629b364e8
    Merge pull request #98 from zip-rs/finish_owned Chris Hennick 2024-05-06 06:17:13 +00:00
  • 30ef662aa2
    Revert "chore: Use panic! rather than abort to ensure the fuzz harness can process the failure" Chris Hennick 2024-05-05 20:19:09 -07:00
  • 0011370fdc
    chore: Use panic! rather than abort to ensure the fuzz harness can process the failure Chris Hennick 2024-05-05 20:17:12 -07:00
  • f2b55a1f59
    chore: Update fuzz_write to use replace_with Chris Hennick 2024-05-05 20:09:23 -07:00
  • 52375437dc
    fix: Process ZIP files with up to a 65,978-byte comment (https://github.com/zip-rs/zip-old/issues/183) Chris Hennick 2024-05-05 19:48:32 -07:00
  • e9d48b7333
    style: Remove unnecessary "mut"s in merge_archive benchmarks Chris Hennick 2024-05-05 19:39:13 -07:00
  • b59515bbd7
    chore: Remove a drop that can no longer be explicit Chris Hennick 2024-05-05 19:30:18 -07:00
  • 84aa6e8f11
    refactor: Make ZipWriter::finish() consume the ZipWriter Chris Hennick 2024-05-05 18:55:48 -07:00
  • a8ec016b51
    style: cargo fmt --all Chris Hennick 2024-05-05 18:43:40 -07:00
  • b3f9170f23
    chore: Add #![allow(unexpected_cfgs)] in nightly Chris Hennick 2024-05-05 18:42:49 -07:00
  • aa890fa634
    feat: Add method decompressed_size() so non-recursive ZIP bombs can be detected Chris Hennick 2024-05-05 18:28:17 -07:00
  • 1f84a81fdb
    style: cargo fmt --all Chris Hennick 2024-05-05 17:57:59 -07:00
  • 16dc2482f2
    chore: Fix unused import warning for TryInto with no features Chris Hennick 2024-05-05 17:57:15 -07:00
  • 614879506c
    chore: Fix merge Chris Hennick 2024-05-05 17:53:18 -07:00
  • e273ff40d5
    Merge pull request #94 from zip-rs/release-plz-2024-05-03T20-10-00Z Chris Hennick 2024-05-04 09:26:31 -07:00
  • a9482ea8ca
    Bump version to trigger new release PR Chris Hennick 2024-05-04 09:21:18 -07:00
  • 52af9ffd23
    Merge pull request #96 from zip-rs/oldpr452 Chris Hennick 2024-05-04 05:05:04 +00:00
  • 62ed5dc61a chore: release Chris 2024-05-04 03:38:36 +00:00
  • 3ccaa3cc85
    style: cargo fmt --all & #![allow(dead_code)] Chris Hennick 2024-05-03 19:51:23 -07:00
  • de95acc543
    style: allow conditionally-unused variables in write_dir.rs Chris Hennick 2024-05-03 19:49:33 -07:00
  • c4906cfd59
    Merge remote-tracking branch 'allilo/add_compression_algo_arg' into oldpr452 Chris Hennick 2024-05-03 19:44:55 -07:00
  • 629707c060
    Merge pull request #95 from zip-rs/speedup_path_to_string Chris Hennick 2024-05-04 00:57:25 +00:00
  • 1852e96192
    Prelim changes to write_dir Allison Lo 2024-05-03 17:19:30 -07:00
  • 40b0af9494
    Merge branch 'master' into oldpr369 Chris Hennick 2024-05-03 15:49:33 -07:00
  • 1b2c42b199
    style: cargo fmt --all Chris Hennick 2024-05-03 15:18:31 -07:00
  • 74e76a94ca
    chore: Refactor: can short-circuit handling of paths that start with MAIN_SEPARATOR, no matter what MAIN_SEPARATOR is Chris Hennick 2024-05-03 15:01:43 -07:00
  • 2adbbccb82
    perf: Quick filter for paths that contain "/../" or "/./" or start with "./" or "../" Chris Hennick 2024-05-03 14:59:35 -07:00
  • 0fe12b2ec9
    chore: Bug fix: non-canonical path detection when MAIN_SEPARATOR is not slash or occurs twice in a row Chris Hennick 2024-05-03 14:34:05 -07:00
  • 5cd448802f
    chore: Bug fix: must recreate if . or .. is a path element Chris Hennick 2024-05-03 14:31:32 -07:00
  • 001967186a
    perf: Fast handling for separator-free paths Chris Hennick 2024-05-03 14:28:14 -07:00
  • 00d8cadba3
    Merge pull request #92 from zip-rs/docs-check-feature-flag Chris Hennick 2024-05-03 21:18:47 +00:00
  • fdcdad9f03
    Merge pull request #67 from zip-rs/oldpr384 Chris Hennick 2024-05-03 21:11:23 +00:00
  • 6184232e19
    perf: Speed up logic if main separator isn't '/' Chris Hennick 2024-05-03 14:11:03 -07:00
  • 22e8fdbf58
    chore: Bug fix Chris Hennick 2024-05-03 14:06:48 -07:00
  • 753eedb3a7
    perf: Drop normalized_components slightly sooner when not using it Chris Hennick 2024-05-03 14:06:29 -07:00
  • efbea6f747
    perf: Speed up path_to_string in cases where the path is already in the proper format Chris Hennick 2024-05-03 14:05:39 -07:00
  • 5ad3fe4acf
    Merge pull request #91 from cosmicexplorer/oldpr396a Chris Hennick 2024-05-03 19:43:20 +00:00
  • 9442a639fb
    Merge branch 'master' into oldpr384 Chris Hennick 2024-05-03 11:57:18 -07:00
  • bebf54c641
    chore: Fix: cargo doc doesn't have a -D warnings option Chris Hennick 2024-05-03 11:55:02 -07:00
  • 06feb9ae72
    chore: Fix: cargo doc doesn't have an --all-targets option Chris Hennick 2024-05-03 11:51:00 -07:00
  • d663b31fb2
    chore: Fix: don't feature-gate all of merge_archive.rs, only the parts that use compression Chris Hennick 2024-05-03 11:49:09 -07:00
  • cb6f87bc02
    chore: Fix a pre-existing failure Chris Hennick 2024-05-03 11:43:41 -07:00
  • f814a6dbc3
    ci: Bug fix: need to check out code and install toolchain in new jobs Chris Hennick 2024-05-03 11:41:04 -07:00
  • 8e0f4ace34
    ci: Run cargo doc and clippy with default features, all features and no features Chris Hennick 2024-05-03 11:32:07 -07:00
  • 0e97f9eebe
    Merge pull request #90 from zip-rs/dependabot/cargo/num_enum-0.7.2 Chris Hennick 2024-05-03 17:41:33 +00:00
  • a86a72fdc6
    chore: Fix conflicts with other recently-merged PRs Chris Hennick 2024-05-02 19:20:43 -07:00
  • 20bfcd960c
    style: fix a cargo fmt check Chris Hennick 2024-05-02 13:55:32 -07:00
  • 875ee30f91
    style: Fix a Clippy warning in write.rs Chris Hennick 2024-05-02 12:12:01 -07:00
  • d98772e633
    style: Fix a Clippy warning in read.rs Chris Hennick 2024-05-02 12:11:00 -07:00
  • d1695053f5
    use indexmap Danny McClanahan 2023-07-11 10:17:00 -04:00
  • 6f2887831d
    chore(deps): update num_enum requirement from 0.6.1 to 0.7.2 dependabot[bot] 2024-05-03 10:24:10 +00:00
  • 103f1eccc4
    Merge pull request #87 from zip-rs/no-byte-order-a Chris Hennick 2024-05-03 08:33:24 +00:00
  • 1d1d9a631f
    Merge branch 'master' into no-byte-order-a Chris Hennick 2024-05-02 22:22:42 -07:00
  • 731c8058dc
    style: cargo fmt --all Chris Hennick 2024-05-02 19:29:25 -07:00
  • 01809627d4
    Merge branch 'master' into oldpr384 Chris Hennick 2024-05-02 19:28:52 -07:00
  • 28c2eb59e7
    chore: Fix error by cfg-guarding the declaration of filename and not just its use Chris Hennick 2024-05-02 18:32:20 -07:00
  • 63793a32ff
    chore: Fix errors by moving use statements inside the cfg-guarded function that uses them Chris Hennick 2024-05-02 18:04:05 -07:00
  • 5a3126894c
    Merge branch 'master' into oldpr384 Chris Hennick 2024-05-02 18:02:19 -07:00
  • 3cf7a520e0
    chore: Update due to merge of #82 Chris Hennick 2024-05-02 17:55:13 -07:00
  • b520c7f517
    test: Fix end-to-end test Chris Hennick 2024-05-02 13:24:50 -07:00
  • 84ae5fc157
    refactor: Remove byteorder dependency (#83) Chris Hennick 2024-05-02 12:41:47 -07:00
  • 8fa3ebb343
    style: Fix cargo fmt warning Chris Hennick 2024-05-02 17:41:49 -07:00
  • b7cce8a296
    doc(examples): fix type mismatch Chris Hennick 2024-05-02 17:09:26 -07:00
  • 58ac18ca24
    Merge pull request #55 from zip-rs/oldpr443 Chris Hennick 2024-05-02 23:17:37 +00:00
  • b6caa1c377
    ci: Run unit tests on multiple feature sets Chris Hennick 2024-05-02 20:12:43 -07:00
  • 5e7939002b
    ci: run checks on release branches, since they don't run on release PRs Chris Hennick 2024-05-02 19:42:49 -07:00
  • 468f314b29
    doc(examples): fix typo Chris Hennick 2024-05-02 15:38:55 -07:00