Due to a missing NULL check on client in the spawn-protect code in G_Damage,
any attempt to damage a non-client entity will result in the server crashing.
This can be fixed by changing line 1193 of g_combat.c from
"if(targ->client->spawnprotected) {" to "if(targ->client &&
targ->client->spawnprotected) {". Attached is a patch that will do this.
Original issue reported on code.google.com by jackmcbarn@gmail.com on 19 Jul 2011 at 5:18
Original issue reported on code.google.com by
jackmcbarn@gmail.com
on 19 Jul 2011 at 5:18Attachments: