summaryrefslogtreecommitdiffstats
path: root/tools/soslim/main.c
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-08-12 12:45:27 +0100
committerBen Murdoch <benm@google.com>2010-08-12 12:45:27 +0100
commitae18f064dfd3c5e9b85f536c57b00ea686ff3126 (patch)
tree10bc9424368787308599854372ea961676ae2cce /tools/soslim/main.c
parent9904ec2429ec9a4c705ec07df1a33ac45bc30062 (diff)
downloadbuild-ae18f064dfd3c5e9b85f536c57b00ea686ff3126.tar.gz
build-ae18f064dfd3c5e9b85f536c57b00ea686ff3126.tar.bz2
build-ae18f064dfd3c5e9b85f536c57b00ea686ff3126.zip
Increase the Retouch buffer size.
New WebKit merge built with JSC javascript engine triggers the overflow. Change-Id: I71a9bbc9b27c9a0e7f3680f20be2696f61c3b266
Diffstat (limited to 'tools/soslim/main.c')
-rw-r--r--tools/soslim/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/soslim/main.c b/tools/soslim/main.c
index e23fbcec7..affc2bcaf 100644
--- a/tools/soslim/main.c
+++ b/tools/soslim/main.c
@@ -191,7 +191,7 @@ int main(int argc, char **argv)
int prelinked = 0, retouched = 0;
int elf_little; /* valid if prelinked != 0 */
long prelink_addr; /* valid if prelinked != 0 */
-#define RETOUCH_MAX_SIZE 500000
+#define RETOUCH_MAX_SIZE 550000
/* _cnt valid if retouched != 0 */
unsigned int retouch_byte_cnt = RETOUCH_MAX_SIZE;
char retouch_buf[RETOUCH_MAX_SIZE]; /* valid if retouched != 0 */