summaryrefslogtreecommitdiffstats
path: root/tools/soslim
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-08-27 13:18:46 +0100
committerSteve Block <steveblock@google.com>2010-08-27 13:18:46 +0100
commite3425a02203b176613132cb69762f4c50673ed74 (patch)
treedae45b68908d06eca3fd0e44c82fee902136e87c /tools/soslim
parent7af5f0d21079ad70f221dbf7cf813f9185088700 (diff)
downloadbuild-e3425a02203b176613132cb69762f4c50673ed74.tar.gz
build-e3425a02203b176613132cb69762f4c50673ed74.tar.bz2
build-e3425a02203b176613132cb69762f4c50673ed74.zip
Increase the Retouch buffer size from 550,000 to 600,000
The WebKit merge to r66079 built with JSC JavaScript engine triggers the overflow. Change-Id: Ifcb92aa019cfb0e7a93d667e15a792554fc0f676
Diffstat (limited to 'tools/soslim')
-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 affc2bcaf..df4848427 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 550000
+#define RETOUCH_MAX_SIZE 600000
/* _cnt valid if retouched != 0 */
unsigned int retouch_byte_cnt = RETOUCH_MAX_SIZE;
char retouch_buf[RETOUCH_MAX_SIZE]; /* valid if retouched != 0 */