-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer length too short #61
Comments
The limit applies to the buffer size, not to the file size. You can always read the file with a loop, using a buffer shorter than 65 KB. The README contains such an example. You can also find, in the source files, a (commented-out) unit test that zips and unzips a 5 GB file. Anyway, I am trying to understand with the maintainer of MiniZip why this limit has been added. Since it has been introduced only recently, maybe it can be lifted. Will keep you updated. |
I can confirm this problem! Until a few weeks ago this was no issue! |
Got into the same issue with 1.0.5. Thanks for @flaushi comment, reverting to 1.0.3 resolved the issue. |
What is the point of case
if (len > UINT16_MAX) return UNZ_PARAMERROR;
inunzReadCurrentFile
?It fails on any file more than 65kb.
The text was updated successfully, but these errors were encountered: