From 2f85326a4aeddb988a73ee3b1584fa9510bbe2f7 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 4 Sep 2017 00:56:57 +0100 Subject: [PATCH] Increase crashlog length limits --- src/crashlog.cpp | 2 +- src/os/macosx/crashlog_osx.cpp | 2 +- src/os/windows/crashlog_win.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 */