]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
Make the move sequence an unsigned int.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Mar 2015 21:25:42 +0000 (21:25 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Mar 2015 21:25:42 +0000 (21:25 +0000)
commit9fa6c695b421f09090fdc81d1a1cadbb7d360126
treef6fde088e2206ac786cf87bb76fab8cb70a07ea0
parentdddab169d13250eeb7106adc499bc5054179f3ff
Make the move sequence an unsigned int.

This fixes an out-of-bounds write to movement_count because C's modulo
operation is considered harmful.

Many thanks to afl-fuzz!

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12170 d7cf8633-e32d-0410-b094-e92efae38249
cl_input.c
client.h
clvm_cmds.c
protocol.c
protocol.h
server.h
sv_user.c