Skip to content

Commit

Permalink
Fix potential stack frame corruption in CConsole::ExecuteCommand. Close
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 6, 2014
1 parent 95ec973 commit 7d053dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/xrEngine/XR_IOConsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,6 @@ void CConsole::ExecuteCommand( LPCSTR cmd_str, bool record_cmd )
}
else
{
first[CONSOLE_BUF_SIZE-21] = 0;
Log( "! Unknown command: ", first );
}

Expand Down

0 comments on commit 7d053dc

Please sign in to comment.