From 7e36116fe890756ca76d9153c668e8a42eb6914e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 1 Apr 2006 08:12:49 +0000 Subject: r14848: use the constant instead of the interger value metze (This used to be commit 6386fd69303f8a2362c3b967796010ded798511e) --- source4/lib/compression/mszip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/compression') diff --git a/source4/lib/compression/mszip.c b/source4/lib/compression/mszip.c index 97b53f56ad..7a6371528c 100644 --- a/source4/lib/compression/mszip.c +++ b/source4/lib/compression/mszip.c @@ -341,7 +341,7 @@ static int32_t Zipinflate_codes(struct decomp_state *decomp_state, ZIPNEEDBITS(e) } while ((e = (t = t->v.t + ((uint32_t)b & Zipmask[e]))->e) > 16); ZIPDUMPBITS(t->b) - if (w >= 32768) break; + if (w >= CAB_BLOCKMAX) break; if (e == 16) /* then it's a literal */ CAB(outbuf)[w++] = (uint8_t)t->v.n; else /* it's an EOB or a length */ -- cgit