mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +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);
|
||||
|
||||
case MODE_INFLATE:
|
||||
if (mFd) {
|
||||
if (mZs.total_out < mOutSize) {
|
||||
rv = ContinueInflate(aBuffer, aCount, aBytesRead);
|
||||
}
|
||||
// be aggressive about releasing the file!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue