cabinet: Fix the regression caused by 4046075462
.
This commit is contained in:
parent
2470b0b316
commit
5ddd35f493
|
@ -1178,8 +1178,9 @@ static cab_LONG fdi_Zipinflate_codes(const struct Ziphuft *tl, const struct Ziph
|
||||||
ZIPDUMPBITS(e)
|
ZIPDUMPBITS(e)
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
d = max(d & (ZIPWSIZE - 1), w);
|
d &= ZIPWSIZE - 1;
|
||||||
e = min(ZIPWSIZE - d, n);
|
e = ZIPWSIZE - max(d, w);
|
||||||
|
e = min(e, n);
|
||||||
n -= e;
|
n -= e;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue