git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
986aae3
)
r14848: use the constant instead of the interger value
author
Stefan Metzmacher
<metze@samba.org>
Sat, 1 Apr 2006 08:12:49 +0000
(08:12 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:59:42 +0000
(13:59 -0500)
metze
(This used to be commit
6386fd69303f8a2362c3b967796010ded798511e
)
source4/lib/compression/mszip.c
patch
|
blob
|
history
diff --git
a/source4/lib/compression/mszip.c
b/source4/lib/compression/mszip.c
index 97b53f56ad0461453f5e44129eca3805a6c839d1..7a6371528c8863b9d8bb6bf4801f0fc579d770ff 100644
(file)
--- 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 */