ioef/code/cgame
Zack Middleton b9061c8447 Fix cg.skulltrails out of bounds access in Team Arena Harvester mode
In Team Arena's Harvester mode, players corrupt your memory from beyond
the grave. Gib the players to stop the corruption!

CG_PlayerTokens is called for player entities, including corpses.
The entity number is used for the index in cg.skulltrails which only has
MAX_CLIENTS elements. This results in incorrect memory being overwritten
for corpse entities (as the entity number is >= MAX_CLIENTS).

So limit skull trails to valid entities (entity number < MAX_CLIENTS).
2014-05-01 21:32:21 -05:00
..
cg_consolecmds.c Make cgame's tcmd use trap_SendClientCommand for "gc" 2013-09-03 18:19:48 -05:00
cg_draw.c Patches by symlink. 2012-02-06 21:28:40 +00:00
cg_drawtools.c (#4922) Use screenYScale, not screenXScale, for scaling Y, by Zack Middleton 2011-03-04 20:32:03 +00:00
cg_effects.c Bunch of comment fixes 2014-03-13 02:20:54 +01:00
cg_ents.c Various bugfixes by Tobias Kuehnhammer (#5270) 2012-07-01 17:27:52 +00:00
cg_event.c Play correct team sounds when in spectator mode and following a player. 2012-10-11 18:22:41 +00:00
cg_info.c - Remove Q_strrchr(), replace with standard, portable strrchr() 2011-05-15 14:08:03 +00:00
cg_local.h renderer -> renderergl1, rend2 -> renderergl2 2013-02-15 23:46:37 +00:00
cg_localents.c Bunch of comment fixes 2014-03-13 02:20:54 +01:00
cg_main.c More MISSIONPACK ifdeffery. 2012-08-17 19:05:40 +00:00
cg_marks.c Patch and description by ensiform (#5043): 2011-06-16 21:58:46 +00:00
cg_newdraw.c Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings 2011-07-29 12:27:00 +00:00
cg_particles.c drop some useless return statements 2013-05-30 15:43:21 -05:00
cg_players.c Fix cg.skulltrails out of bounds access in Team Arena Harvester mode 2014-05-01 21:32:21 -05:00
cg_playerstate.c Bunch of comment fixes 2014-03-13 02:20:54 +01:00
cg_predict.c Fix predicting touching items in CTF and 1FCTF 2013-05-23 00:55:32 -05:00
cg_public.h * Added STATUS 2005-10-29 01:53:09 +00:00
cg_scoreboard.c Fix tourney score board. Thanks Zack Middleton for the patch and report 2011-02-06 17:33:51 +00:00
cg_servercmds.c Various bugfixes by Tobias Kuehnhammer (#5270) 2012-07-01 17:27:52 +00:00
cg_snapshot.c add a missing \n from a cgame print 2011-01-27 07:22:25 +00:00
cg_syscalls.asm remove svn:executable property 2005-08-28 17:54:51 +00:00
cg_syscalls.c Shut up returning functions with noreturn attribute warning 2011-07-18 22:02:16 +00:00
cg_view.c Bunch of comment fixes 2014-03-13 02:20:54 +01:00
cg_weapons.c Bunch of comment fixes 2014-03-13 02:20:54 +01:00