Skip to content

Commit 7d053dc

Browse files
author
Pavel Kovalenko
committed
Fix potential stack frame corruption in CConsole::ExecuteCommand. Close #11.
1 parent 95ec973 commit 7d053dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/xrEngine/XR_IOConsole.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,6 @@ void CConsole::ExecuteCommand( LPCSTR cmd_str, bool record_cmd )
594594
}
595595
else
596596
{
597-
first[CONSOLE_BUF_SIZE-21] = 0;
598597
Log( "! Unknown command: ", first );
599598
}
600599

0 commit comments

Comments
 (0)