diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-07-10 16:12:37 (GMT) |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-07-10 16:12:37 (GMT) |
commit | f6886c2c33a1cf8771163919f3d20f6340c0ce38 (patch) | |
tree | 487efddf857268ba855e778a952a5689afc81abe /src | |
parent | c90e0381dd1b49315f5c8a33527802218a84b5ed (diff) | |
download | patchelf-f6886c2c33a1cf8771163919f3d20f6340c0ce38.zip patchelf-f6886c2c33a1cf8771163919f3d20f6340c0ce38.tar.gz patchelf-f6886c2c33a1cf8771163919f3d20f6340c0ce38.tar.bz2 |
Quick fix for #47
Diffstat (limited to 'src')
-rw-r--r-- | src/patchelf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc index 8566ed9..df75593 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -248,7 +248,7 @@ static void readFile(string fileName, mode_t * fileMode) if (stat(fileName.c_str(), &st) != 0) error("stat"); fileSize = st.st_size; *fileMode = st.st_mode; - maxSize = fileSize + 8 * 1024 * 1024; + maxSize = fileSize + 32 * 1024 * 1024; contents = (unsigned char *) malloc(fileSize + maxSize); if (!contents) abort(); |