2209 Commits

Author SHA1 Message Date
Nathan Moinvaziri
9aeff7bc29 Fixed whitespace in mz_stream_split_open_disk. 2024-10-23 11:28:07 -07:00
筱萍
40416c35c3 Fix decompress a zip multi-volume archive file without filename extensions will cause an infinite loop. 2024-10-23 11:28:07 -07:00
Cœur
23bf392d1b fix: avoid private api on Mac App Store 2024-10-22 13:11:20 -04:00
Nathan Moinvaziri
0ee98b6909 Check version when verifying password for pkcrypt. #800 2024-10-18 12:01:40 -07:00
Nathan Moinvaziri
fe5fedc365 Version 4.0.7. 4.0.7 2024-06-15 09:21:44 -07:00
Nathan Moinvaziri
bfc8f6c9e1 Added definition for zipOpenNewFileInZip64 for backwards compat #787 2024-06-15 09:16:27 -07:00
Nathan Moinvaziri
b887f8104b Rename cli instead of lib for VS conflicts to prevent linker error. #778 2024-06-07 19:48:35 -07:00
Nathan Moinvaziri
1ddb23dfc0 Clean up casing in CMake. 2024-06-07 19:48:03 -07:00
Nathan Moinvaziri
a64aa8bb4b Only setup python when codecov is enabled. 2024-06-07 19:27:28 -07:00
Nathan Moinvaziri
51ab7c599d Fix macos-latest not properly locating OpenSSL. 2024-06-07 19:27:00 -07:00
Nathan Moinvaziri
2f380cbbbf Upgrade to GoogleTest Framework v1.13.0. 2024-06-07 19:26:12 -07:00
Nathan Moinvaziri
71334463b2 Turn off building shared libraries in CI. 2024-06-01 20:05:05 -07:00
Nathan Moinvaziri
437d2f0e4d Use default version of gcovr. 2024-06-01 19:55:15 -07:00
Nathan Moinvaziri
8a00c0e9fb Disable zlib-ng tests. 2024-06-01 18:30:05 -07:00
Nathan Moinvaziri
d3bc79cd0d Cancel CI jobs when newer HEAD commit available. 2024-06-01 16:48:10 -07:00
Nathan Moinvaziri
f1e9f85777 Reorder branches in readme after making develop default branch. 2024-06-01 16:46:30 -07:00
Nathan Moinvaziri
db940ff659 Fixed zlib-ng build error about installing zlibstatic alias. 2024-06-01 16:44:53 -07:00
Nathan Moinvaziri
1e402d2c2a Rename minizip_cmd to minizip_cli. 2024-06-01 16:44:30 -07:00
Nathan Moinvaziri
4cec116210 Version 4.0.6. 4.0.6 2024-06-01 14:10:39 -07:00
Nathan Moinvaziri
07db361a6e Fixed listing empty zip file. #756 2024-06-01 14:09:47 -07:00
Nathan Moinvaziri
288b2e249e Revert "Add empty directories to zip file. #756"
This reverts commit 168f9ffee7361994574b70cc34983fa741b1f2fe.
2024-06-01 13:59:23 -07:00
Nathan Moinvaziri
c7ed3c8e4c Update liblzma repository to GitHub. 2024-06-01 13:39:36 -07:00
Nathan Moinvaziri
0725402ff1 Switch to using zlib-ng stable.
zlib's CMake is just fucked up for far too long.
2024-06-01 13:27:20 -07:00
Nathan Moinvaziri
5aec551bf7 Fixed zstd master branch no longer working. 2024-04-01 09:44:11 -07:00
Nathan Moinvaziri
990f512941 Added permissions needed for codeql-action v3. 2024-03-06 08:54:18 -08:00
dependabot[bot]
3f9bb5ac2f Bump svenstaro/upload-release-action from 1.pre.release to 2.9.0
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 1.pre.release to 2.9.0.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases)
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenstaro/upload-release-action/compare/v1-release...2.9.0)

---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 08:49:34 -08:00
dependabot[bot]
a8aa7542fb 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-03-06 08:48:29 -08:00
dependabot[bot]
0dbe04ceca Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 08:48:14 -08:00
dependabot[bot]
ab65b0b19b Bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 08:48:02 -08:00
Nathan Moinvaziri
d26500513c Target develop branch for dependabot updates. 2024-03-05 19:36:27 -08:00
dependabot[bot]
59a32bd65b Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 19:33:45 -08:00
Nathan Moinvaziri
3eed562ef0 Version 4.0.5. 4.0.5 2024-03-05 19:30:16 -08:00
Nathan Moinvaziri
552b4831da Keep github actions up-to-date 2024-02-22 16:11:07 -08:00
Nathan Moinvaziri
168f9ffee7 Add empty directories to zip file. #756 2024-02-16 18:56:15 -08:00
Nathan Moinvaziri
0c3a741b36 Remove left over signing code from v3. 2024-02-16 18:32:53 -08:00
Nathan Moinvaziri
4bd8ebc090 Use correct version needed to extract for BZIP2. #763 2024-02-16 18:25:00 -08:00
Nathan Moinvaziri
32f91ade14 Add packaging status badge to readme. 2024-01-13 16:46:52 -08:00
rezso
e91cdbc485 Fix bz2 library name 2024-01-12 12:09:22 -05:00
Nathan Moinvaziri
a7d612adf2 Use hexadecimal prefix for MZ_VERSION_BUILD. #758 2024-01-04 10:05:59 -08:00
Nathan Moinvaziri
13b01a74a4 Version 4.0.4. 4.0.4 2023-12-29 07:05:05 -08:00
Yu SuiXian
d1f4d18899 Update comments style in various code files 2023-12-29 07:04:22 -08:00
Brad Smith
0211461993 Remove DOS line endings 2023-12-21 10:38:11 -08:00
Brad Smith
782b139ee7 Silence -Wunused-but-set-variable warnings
/home/brad/tmp/minizip-ng/mz_strm_zstd.c:110:13: warning: variable 'total_in' set but not used [-Wunused-but-set-variable]
    int32_t total_in = 0;
            ^

/home/brad/tmp/minizip-ng/mz_strm_bzip.c:117:13: warning: variable 'total_in' set but not used [-Wunused-but-set-variable]
    int32_t total_in = 0;
            ^
2023-12-18 10:13:55 -08:00
Brad Smith
487259b09a Silence MZ_COMPAT_VERSION warnings
In file included from /usr/local/include/minizip/unzip.h:11:
/usr/local/include/minizip/mz_compat.h:123:5: warning: 'MZ_COMPAT_VERSION' is not defined, evaluates to 0 [-Wundef]
    ^
2023-12-18 09:08:45 -08:00
Nathan Moinvaziri
bacf5122ac Fixed compat layer structures layout and types. #749 2023-12-17 09:45:33 -08:00
Nathan Moinvaziri
6c5f265a55 Added back unzLocateFile variant for minizip 1.2 with MZ_COMPAT_VERSION. 2023-12-17 09:34:25 -08:00
Tulio Magno Quites Machado Filho
fbd8443122 Fix unzLocateFile 3rd parameter
Replace the previous type with one that is compatible with an int in
order to be identical to the interface used in madler's zlib.

Fixes #745.
2023-12-11 13:47:31 -08:00
Hans Wennborg
2c2d6e5940 Reject overflows of zip header fields in minizip compat
This checks the lengths of the file name, and comment
that would be put in the zip headers, and rejects them if they are
too long. They are each limited to 65535 bytes in length by the zip
format. This also avoids possible buffer overflows if the provided
fields are too long.

See #736.
2023-12-05 19:05:15 -08:00
Nathan Moinvaziri
ef3ef9a4b8 Version 4.0.3. 4.0.3 2023-11-13 10:04:26 -08:00
Nathan Moinvaziri
933cedf2bb Added poc zip file for unzip fuzzer from GH issue #739. 2023-11-13 09:40:13 -08:00