diff options
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(); |