Skip to content

Fix issue with files > 8192 bytes#15

Open
ajdonnison wants to merge 3 commits into
kriskowal:masterfrom
ajdonnison:master
Open

Fix issue with files > 8192 bytes#15
ajdonnison wants to merge 3 commits into
kriskowal:masterfrom
ajdonnison:master

Conversation

@ajdonnison

Copy link
Copy Markdown

When a ZIP file is greater than 8192 bytes the original logic was overwriting the same part of the buffer, solution is to move the initialisation of the pos variable outside the read loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant