From 17a0b7939bd05f5e617cef89457ca43774fc9a9f Mon Sep 17 00:00:00 2001 From: Eblo <7004497+Eblo@users.noreply.github.com> Date: Sun, 2 Nov 2025 16:53:32 -0500 Subject: [PATCH] Increase register buffer size for crash logs (#951) --- src/ship/debug/CrashHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ship/debug/CrashHandler.cpp b/src/ship/debug/CrashHandler.cpp index 3181885..598ef51 100644 --- a/src/ship/debug/CrashHandler.cpp +++ b/src/ship/debug/CrashHandler.cpp @@ -214,7 +214,7 @@ static void ShutdownHandler(int sig, siginfo_t* sigInfo, void* data) { void CrashHandler::PrintRegisters(CONTEXT* ctx) { AppendLine("Registers:"); - char regBuff[25]; + char regBuff[29]; #if defined(_M_AMD64) sprintf_s(regBuff, std::size(regBuff), " RAX: 0x%016llX", ctx->Rax); AppendLine(regBuff);