zipper
zipper copied to clipboard
C++ wrapper around minizip compression library
Here is an example that should help with #88 I do not remove exeption to keep compatibility with the old API, similar to what can be found in `std::filesystem`
@Togtja on the dev branch we are referring to the Zlib master branch which is no longer maintained. Their dev branch has major fixes included, but some are missing (for...
The details of the vulnerability are detailed in this post: https://snyk.io/research/zip-slip-vulnerability To summarize, Zip files can be crafted to contain entries with paths such as `../../../../../tmp/evil.sh`, which point to outside...
As far some people know I'm not the author of this lib and help when I can but since principally issues come from Windows and CMake worlds (and hardly C++)...
### Issue If a zip archive fails to extract to a directory using `zipper::Unzipper::extract`, the failure is not signaled to the caller in any way. ### Example The following code...
Here's a simple example code reproducing the issue: ``` #include using namespace zipper; #include int main() { try { std::ifstream input1("../Test1.txt"); if (input1.fail()) { throw std::runtime_error("Cannot open input file 1");...
Do you know if the CRC of the extracted zipfiles get checked when extracting using Minizip/Zipper to extract? If it does not I think we should expose the CRC in...
Confusing API: either return false or throw exception. We should use a single poison :) When returning false could be nice to have a sterror/errno method to return a human...