lilium-voyager/code
Ryan C. Gordon af303a4813 SetTeam fix from Martin Doucha.
"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.
2009-09-14 15:45:52 +00:00
..
AL Revert changes in ioquake3 AL code, fix OpenAL headers. 2007-12-13 23:27:41 +00:00
asm Don't define ELF, use __ELF__ instead 2007-11-06 16:41:57 +00:00
botlib Replace a few sprintf with Com_sprintf 2009-06-01 00:18:02 +00:00
cgame fix overflow in CG_ParseTeamInfo 2009-01-13 07:57:03 +00:00
client * Fix warning in cl_main.c 2009-09-14 12:34:31 +00:00
game SetTeam fix from Martin Doucha. 2009-09-14 15:45:52 +00:00
jpeg-6b * Update to jpeg-6b (only a decade old) 2008-08-21 23:29:09 +00:00
libcurl/curl * add cURL support for HTTP/FTP downloading (bug 2661) 2006-09-11 16:41:55 +00:00
libs * Merge unified-sdl to trunk 2007-09-05 18:17:46 +00:00
libspeex move speex config.h to correct place 2009-02-11 09:21:43 +00:00
null * (bug #3729) server dependencies on client.h (Ben Millwood) 2008-08-22 22:47:26 +00:00
q3_ui minor spelling fix. 2008-06-25 06:20:23 +00:00
qcommon - Add error handling for Opensolaris f***ing up a numeric getnameinfo() call. 2009-06-26 18:11:45 +00:00
renderer See here: 2009-06-13 22:00:28 +00:00
sdl * Fix warning in cl_main.c 2009-09-14 12:34:31 +00:00
SDL12/include * updated the included libSDL header files and Mac OS X lib to SDL 1.2.11 2007-05-22 03:46:11 +00:00
server - fix typo in previous commit to net_ip.c 2009-06-23 00:59:47 +00:00
sys * Fix warning in cl_main.c 2009-09-14 12:34:31 +00:00
tools This patch from Monk fixes the q3asm help screen 2009-06-14 21:45:55 +00:00
ui * Fix some new GCC 4.3 warnings 2008-11-10 23:55:22 +00:00