aboutsummaryrefslogtreecommitdiffstats
path: root/code/game/g_cmds.c
Commit message (Collapse)AuthorAgeFilesLines
* SetTeam fix from Martin Doucha.icculus2009-09-141-4/+4
| | | | | | | | | | | | | | | | | | | | | "Actually, client->ps.clientNum is unsafe. We had a little hunt for this some time ago in Tremulous last year (it caused kick failures, annoying popup windows and other nasty bugs). The problem is that a following spectator gets full copy of client->ps of the followed player including clientNum. If you then try to use this "shared" clientNum, you might affect someone else than you wanted. r1019 changes are safe as long as bots don't spectate players. However, a brief grep on current code has revealed unsafe client->ps.clientNum usage in SetTeam(). If a following spectator uses team command when forced balance is on, it'll count teams incorrectly and send the error message to the followed player instead. Here's the fix." Fixes Bugzilla #2986. git-svn-id: svn://svn.icculus.org/quake3/trunk@1587 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix name compare in 'follow' command (#4013)ludwig2009-05-081-28/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1548 edf5b092-35ff-0310-97b2-ce42778d08ea
* security fix: prevent command injection via callvoteludwig2009-01-171-3/+11
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1493 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-291-1/+1
| | | | | | | | | | | * Updated TODO * Moved ChangeLog to root * Updated ChangeLog * s/Foobar/Quake III Arena Source Code/ * Biggest patch EVAR. I wonder how many mail boxes this will fill... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove svn:executable propertyludwig2005-08-281-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@24 edf5b092-35ff-0310-97b2-ce42778d08ea
* newlines fixedzakk2005-08-261-1701/+1701
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
* Itsa me, quake3io!zakk2005-08-261-0/+1701
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea