Comments (6)
Is there any way I could help to resolve this issue? Thanks!
from minizip-ng.
It appears to be a problem with the ZIP64 end of central directory headers. Normally if those ZIP64 headers exists, then certain values in the non-ZIP64 central directory are set to 0xffffffff.
See unzip.c line ~ 461: ((us.gi.number_entry == 0xffff) || (us.size_central_dir == 0xffff) || (us.offset_central_dir == 0xffffffff))).
In this particular archive however, it does not set those values.
from minizip-ng.
I have modified minizip to look for the ZIP64 end of central directory regardless of those values.
from minizip-ng.
Thank you very much for fixing this!
from minizip-ng.
Hello, I have a problem opening the file in the link:
https://drive.mobisystems.com/sharelink/714xQfiNQl3XH9nsYc5iWL2CU0oVTqBmEsnf4ez8fpth
I call unzOpen2_64() and in unzOpenInternal() unz64local_SearchCentralDir64() returns 0.
I tried to debug it and it seems that the reason is that the central dir position is not found:
if (uPosFound == 0)
return 0;
from minizip-ng.
Please open a new issue.
from minizip-ng.
Related Issues (20)
- OpenSSL 1.0.2h HOT 2
- Worst LZMA compression on best compression level HOT 2
- CVE-2023-45853 status HOT 5
- 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
- Issues when adding an empty directory HOT 2
- Problem with "relocating" minizip HOT 3
- MZ_VERSION_BUILD became an octal number in 3.0.0, that becomes invalid with certain version numbers HOT 3
- minizip-ng conflicts with minizip-compat of zlib HOT 4
- Bad libname for bzip2 HOT 1
- Unable to zip a file with password protection HOT 1
- Wrong "version needed to extract" for ZIP files compressed with bzip2 HOT 1
- Fails to build with newest zlib HOT 5
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.