Skip to content

Tags: kuba--/zip

Tags

v0.3.11

Toggle v0.3.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update CMakeLists.txt

v0.3.11+miniz.3.1.1

Toggle v0.3.11+miniz.3.1.1's commit message

v0.3.10

Toggle v0.3.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Change zip_name_normalize to accept const char* (#409)

v0.3.9

Toggle v0.3.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
guard against uncomp_size overflow in zip_entry_decrypt_and_read (#405)

v0.3.8

Toggle v0.3.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Optional flags (#393)

* Add compile-time flags to enable/disable inflate, deflate and symlink support

Introduces ZIP_ENABLE_INFLATE, ZIP_ENABLE_DEFLATE, and ZIP_HAVE_SYMLINK
so users can strip unused functionality and reduce binary size on
constrained targets. All flags default to enabled, preserving full
backward compatibility when the source files are simply dropped into a
project without CMake.

Closes #362

* Update README.md

* Guard encryption helpers with compile-time flags and add CI matrix

Move zip_password_clone outside the ZIP_ENABLE_DEFLATE guard since
it is needed by both read and write paths (password-protected open).

Wrap PKWARE cipher primitives (encrypt, decrypt, key schedule) with
appropriate guards so the library compiles cleanly under all flag
combinations, including the all-disabled case.

Add a compile-flags CI matrix job that builds every combination of
ZIP_ENABLE_INFLATE, ZIP_ENABLE_DEFLATE, and ZIP_HAVE_SYMLINK to
catch guard regressions.

* Potential fix for code scanning alert no. 11: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

v0.3.7

Toggle v0.3.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support delete mode ('d') for in-memory zip streams (#333) (#391)

* Support delete mode ('d') for in-memory zip streams (#333)

Allow zip_stream_open to accept 'd' mode so callers can delete entries
from an in-memory archive without duplicating the buffer. A dedicated
write function (zip_stream_delete_write_func) keeps the same heap-write
semantics as miniz but uses a distinct pointer so mz_zip_writer_end
won't free the caller's buffer—no miniz changes required.

Seven new ASan-clean tests cover delete-by-name, delete-by-index,
invalid indices, close-without-copy, open-then-close, delete-all, and
multiple zip_stream_copy calls.

v0.3.6

Toggle v0.3.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix Arbitrary File Write Vulnerability (#388)

Fixes https://github.com/kuba--/zip/issues/387

v0.3.5

Toggle v0.3.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix potential memory leak (#380)

Co-authored-by: kuba-- <kuba--@users.noreply.github.com>

v0.3.4

Toggle v0.3.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add test_data (#377)

v0.3.3

Toggle v0.3.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Patch miniz.h to guard against infinite loop bug (#364)