diff --git a/src/crashlog.cpp b/src/crashlog.cpp index 812cae1642..48b32163cb 100644 --- a/src/crashlog.cpp +++ b/src/crashlog.cpp @@ -477,7 +477,7 @@ bool CrashLog::MakeCrashLog() const crashlogged = true; char filename[MAX_PATH]; - char buffer[65536 * 2]; + char buffer[65536 * 4]; bool ret = true; printf("Crash encountered, generating crash log...\n"); diff --git a/src/os/macosx/crashlog_osx.cpp b/src/os/macosx/crashlog_osx.cpp index c3f6ea5fef..50a2aa0f35 100644 --- a/src/os/macosx/crashlog_osx.cpp +++ b/src/os/macosx/crashlog_osx.cpp @@ -165,7 +165,7 @@ public: /** Generate the crash log. */ bool MakeCrashLog() { - char buffer[65536]; + char buffer[65536 * 4]; bool ret = true; printf("Crash encountered, generating crash log...\n"); diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp index 5552b30119..014bc3a3d3 100644 --- a/src/os/windows/crashlog_win.cpp +++ b/src/os/windows/crashlog_win.cpp @@ -63,7 +63,7 @@ public: /** Buffer for the generated crash log */ - char crashlog[65536]; + char crashlog[65536 * 4]; /** Buffer for the filename of the crash log */ char crashlog_filename[MAX_PATH]; /** Buffer for the filename of the crash dump */