mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-24 16:17:29 +09:00
[libjar] Fix inflation logic.
This has been broken for 11 years. About time it's fixed. Tag #1683
This commit is contained in:
parent
6d5eda3010
commit
889311cd74
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ MOZ_WIN_MEM_TRY_BEGIN
|
||||||
return ReadDirectory(aBuffer, aCount, aBytesRead);
|
return ReadDirectory(aBuffer, aCount, aBytesRead);
|
||||||
|
|
||||||
case MODE_INFLATE:
|
case MODE_INFLATE:
|
||||||
if (mFd) {
|
if (mZs.total_out < mOutSize) {
|
||||||
rv = ContinueInflate(aBuffer, aCount, aBytesRead);
|
rv = ContinueInflate(aBuffer, aCount, aBytesRead);
|
||||||
}
|
}
|
||||||
// be aggressive about releasing the file!
|
// be aggressive about releasing the file!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue