diff options
author | jackpoz <giacomopoz@gmail.com> | 2017-12-02 00:02:16 +0100 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2017-12-02 00:02:16 +0100 |
commit | c7043b25f659eddd75fecd916235e524223c7f05 (patch) | |
tree | b9ac0a354c9946054cecca7b830b9145be7880d4 /src/common/Debugging/WheatyExceptionReport.cpp | |
parent | 072c884ed86a9bf895cd5f53b0f6480ae14c3059 (diff) |
Core/Crash reporting: Fix buffer overflow
Diffstat (limited to 'src/common/Debugging/WheatyExceptionReport.cpp')
-rw-r--r-- | src/common/Debugging/WheatyExceptionReport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Debugging/WheatyExceptionReport.cpp b/src/common/Debugging/WheatyExceptionReport.cpp index e818df4e8fb..f541efcc001 100644 --- a/src/common/Debugging/WheatyExceptionReport.cpp +++ b/src/common/Debugging/WheatyExceptionReport.cpp @@ -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; |