mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Crash reporting: Fix buffer overflow
This commit is contained in:
@@ -1028,7 +1028,7 @@ bool logChildren)
|
||||
ULONG64 length;
|
||||
SymGetTypeInfo(m_hProcess, modBase, innerTypeID, TI_GET_LENGTH, &length);
|
||||
char buffer2[50];
|
||||
FormatOutputValue(buffer2, basicType, length, (PVOID)address, sizeof(buffer));
|
||||
FormatOutputValue(buffer2, basicType, length, (PVOID)address, sizeof(buffer2));
|
||||
symbolDetails.top().Value = buffer2;
|
||||
}
|
||||
bHandled = true;
|
||||
|
||||
Reference in New Issue
Block a user