zip icon indicating copy to clipboard operation
zip copied to clipboard

zip wrapper for Nim

Results 19 zip issues
Sort by recently updated
recently updated
newest added

### Issue Given a crafted zip file containing a file of filename `../../../../../../../../tmp/evil.txt`, zip will extract the file to `/tmp/evil.txt`, while actually it should be extracted to `./tmp/evil.txt`. This vulnerability...

While this works fine on Linux, calling addFile with a StringStream parameter fails on Windows. The zip archive is created, but the enclosed file is 200MB+, and the archive cannot...

No clue whats going on, Windows 11 pro, zlib.h apparently doesnt exist.

I can't seem to write more than one file using addFile to the same zip. When I attempt to, this is my output: `Error: unhandled exception: File already exists [IOError]`

Useful when processing .bz2 compressed logfiles. Not sure if bzip2 support truly belongs in this package, then again the interface is similar to gzipfiles.

I am having similar issues with what was going on with is post: https://github.com/nim-lang/zip/issues/33#issue-386810624 The solution that worked for that poster is not working for me in this case by...

Heya, I'm trying to get this library working when cross-compiling to Windows using the MingW toolchain, this is the Nim code i'm using: ```nim import zip/zipfiles import strformat import os...

Hello, this package doesn't seem's to compile on Windows: ``` CC: libzip_all Error: execution of an external compiler program 'clang.exe -c -w -DWIN32_LEAN_AND_MEAN -IC:\Users\roman\Documents\vcpkg/installed/x64-windows/include -IC:\Users\roman\Desktop\nim-1.0.4\lib -IC:\Users\roman\CLionProjects\atomicDEX-QT\atomic_dex_desktop\tools -o C:\Users\roman\nimcache\dependencies_d\libzip_all.c.o C:\Users\roman\.nimble\pkgs\zip-0.2.1\zip\private\libzip_all.c' failed...

I am only starting to learn Nim and I want to read the stats of files inside a zip file. Zipfiles.nim does not expose this information, so I am attempting...

I was trying out the zlib wrapper on my Linux machine (amd64, zlib `1.2.11`) with the following program: ``` import zip/zlib let c = compress("Compress me!") ``` Compilation goes well...

wontfix