diff options
| author | east <annoyingeast@googlemail.com> | 2012-01-12 19:59:27 +0100 |
|---|---|---|
| committer | east <annoyingeast@googlemail.com> | 2012-01-12 19:59:27 +0100 |
| commit | 28410c00a79c2e82dd709180059fc41dd6b4fab4 (patch) | |
| tree | 2fcc5d2a288e0b857f09cd79a08bec09846c1601 | |
| parent | 96c66c95e9c29f0b3563ddb18c312720e66f682e (diff) | |
| download | zcatch-28410c00a79c2e82dd709180059fc41dd6b4fab4.tar.gz zcatch-28410c00a79c2e82dd709180059fc41dd6b4fab4.zip | |
Econ bufferoverflow fix
| -rw-r--r-- | src/engine/shared/econ.cpp | 2 |
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); |