diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-04-01 08:12:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:42 -0500 |
commit | 6386fd69303f8a2362c3b967796010ded798511e (patch) | |
tree | 9c600be3697debcb2053434072e9f437311a92fc /source/lib/compression | |
parent | a3e7640730b756392afce4ec1b69eda0bf044e3f (diff) | |
download | samba-6386fd69303f8a2362c3b967796010ded798511e.tar.gz |
r14848: use the constant instead of the interger value
metze
Diffstat (limited to 'source/lib/compression')
-rw-r--r-- | source/lib/compression/mszip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/compression/mszip.c b/source/lib/compression/mszip.c index 97b53f56ad0..7a6371528c8 100644 --- a/source/lib/compression/mszip.c +++ b/source/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 */ |