mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Increase the amount of bytes that findCentralDirectoryFileHeader() will scan when unzipping a .zip file
This commit is contained in:
parent
815c9ee236
commit
bcf388b2cd
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ static int64 findCentralDirectoryFileHeader (InputStream& input, int& numEntries
|
|||
|
||||
in.setPosition (in.getTotalLength());
|
||||
auto pos = in.getPosition();
|
||||
auto lowestPos = jmax ((int64) 0, pos - 1024);
|
||||
auto lowestPos = jmax ((int64) 0, pos - 1048576);
|
||||
char buffer[32] = {};
|
||||
|
||||
while (pos > lowestPos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue