Skip to content

Commit baaff75

Browse files
committed
We have found and fixed a security weakness (CWE-188) using PVS-Studio tool: Analyzer warning: V557 Array overrun is possible. The value of 'dwCode - 1' index could reach 8.
PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/
1 parent 8f48522 commit baaff75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debug/di/rsmain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const char * GetDebugCodeName(DWORD dwCode)
6060
"(5) EXIT_PROCESS_DEBUG_EVENT",
6161
"(6) LOAD_DLL_DEBUG_EVENT",
6262
"(7) UNLOAD_DLL_DEBUG_EVENT",
63-
"(8) OUTPUT_DEBUG_STRING_EVENT"
63+
"(8) OUTPUT_DEBUG_STRING_EVENT",
6464
"(9) RIP_EVENT",// <-- only on Win9X
6565
};
6666

0 commit comments

Comments
 (0)