summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/decompress_inflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/decompress_inflate.c b/lib/decompress_inflate.c
index 163e66aea5f6..d2e7c758d1ca 100644
--- a/lib/decompress_inflate.c
+++ b/lib/decompress_inflate.c
@@ -41,7 +41,7 @@ STATIC int INIT gunzip(unsigned char *buf, int len,
set_error_fn(error_fn);
rc = -1;
if (flush) {
- out_len = 0x8100; /* 32 K */
+ out_len = 0x8000; /* 32 K */
out_buf = malloc(out_len);
} else {
out_len = 0x7fffffff; /* no limit */