about summary refs log tree commit diff
diff options
context:
space:
mode:
authoroy <tom_adams@web.de>2012-01-12 11:36:14 -0800
committeroy <tom_adams@web.de>2012-01-12 11:36:14 -0800
commit4cce03c6e632c24d6e23377e8d071fb7d84eceac (patch)
tree2fcc5d2a288e0b857f09cd79a08bec09846c1601
parent96c66c95e9c29f0b3563ddb18c312720e66f682e (diff)
parent28410c00a79c2e82dd709180059fc41dd6b4fab4 (diff)
downloadzcatch-4cce03c6e632c24d6e23377e8d071fb7d84eceac.tar.gz
zcatch-4cce03c6e632c24d6e23377e8d071fb7d84eceac.zip
Merge pull request #917 from east/mypullrequest
Econ bufferoverflow fix
-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);