Comments (5)
I don't know.
from minizip-ng.
If it is please reopen.
from minizip-ng.
The code is quite different in minizip_ng so the zlib patch won't apply, but I see no check in the code that file name lengths do not exceed 65536. Even if there isn't a security issue (and I'm not convinced there isn't), I'm quite sure that minizip_ng will at least create corrupted ZIP files in this case.
from minizip-ng.
I tried creating an archive with a file name >= 65536 bytes and it silently truncated the file. I've opened #736 on that issue.
from minizip-ng.
Linked to:
from minizip-ng.
Related Issues (20)
- gcc 链接minizip库异常 HOT 1
- mz_crypt_apple.c references non-public symbols HOT 12
- Use of _POSIX_C_SOURCE=200809L breaks build on OpenBSD HOT 3
- Sanitizer reports memory leaks in `mz_crypt_sha_create` and `mz_zip_writer_entry_open` HOT 2
- Version defines HOT 2
- could not find CheckSourceCompiles HOT 1
- minizip-ng-config.cmake relies on non-existant zlib-ng-config.cmake
- Error on build with Ubuntu 20.04 HOT 2
- OpenSSL 1.0.2h HOT 2
- Worst LZMA compression on best compression level HOT 2
- Filenames or file comments >= 65536 bytes are truncated HOT 4
- heap overflow by default via minizip-ng HOT 2
- Heap-buffer-overflow in mz_os.c:71 mz_path_has_slash HOT 13
- Heap-buffer-overflow in mz_os.c:188 in mz_path_resolve HOT 5
- mz_stream_mem_set_buffer doesn't support memory buffers larger than 32 bit integer HOT 1
- Compatibility issues in unzLocateFile HOT 6
- Backwards compatibility issue with minizip-ng HOT 3
- Backwards compatibility issue with zip_fileinfo structure definition in mz_compat.h HOT 1
- C++ style Annotation style causes compilation failure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minizip-ng.