projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v3.12-rc2' into drm-intel-next
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
lib
/
decompress_inflate.c
diff --git
a/lib/decompress_inflate.c
b/lib/decompress_inflate.c
index
19ff89e
..
d619b28
100644
(file)
--- a/
lib/decompress_inflate.c
+++ b/
lib/decompress_inflate.c
@@
-48,7
+48,7
@@
STATIC int INIT gunzip(unsigned char *buf, int len,
out_len = 0x8000; /* 32 K */
out_buf = malloc(out_len);
} else {
- out_len =
0x7ffffff
f; /* no limit */
+ out_len =
((size_t)~0) - (size_t)out_bu
f; /* no limit */
}
if (!out_buf) {
error("Out of memory while allocating output buffer");