From 28410c00a79c2e82dd709180059fc41dd6b4fab4 Mon Sep 17 00:00:00 2001 From: east Date: Thu, 12 Jan 2012 19:59:27 +0100 Subject: Econ bufferoverflow fix --- src/engine/shared/econ.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/shared/econ.cpp') diff --git a/src/engine/shared/econ.cpp b/src/engine/shared/econ.cpp index e85bbd9b..eb7df872 100644 --- a/src/engine/shared/econ.cpp +++ b/src/engine/shared/econ.cpp @@ -141,7 +141,7 @@ void CEcon::Update() else if(m_aClients[ClientID].m_State == CClient::STATE_AUTHED) { char aFormatted[256]; - str_format(aFormatted, sizeof(aBuf), "cid=%d cmd='%s'", ClientID, aBuf); + str_format(aFormatted, sizeof(aFormatted), "cid=%d cmd='%s'", ClientID, aBuf); Console()->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "server", aFormatted); m_UserClientID = ClientID; Console()->ExecuteLine(aBuf); -- cgit 1.4.1