about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
authoreast <annoyingeast@googlemail.com>2012-01-12 19:59:27 +0100
committereast <annoyingeast@googlemail.com>2012-01-12 19:59:27 +0100
commit28410c00a79c2e82dd709180059fc41dd6b4fab4 (patch)
tree2fcc5d2a288e0b857f09cd79a08bec09846c1601 /src/engine
parent96c66c95e9c29f0b3563ddb18c312720e66f682e (diff)
downloadzcatch-28410c00a79c2e82dd709180059fc41dd6b4fab4.tar.gz
zcatch-28410c00a79c2e82dd709180059fc41dd6b4fab4.zip
Econ bufferoverflow fix
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/shared/econ.cpp2
1 files changed, 1 insertions, 1 deletions
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);