]> git.rm.cloudns.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)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 2 Mar 2015 21:31:00 +0000 (22:31 +0100)
commit80c61a0d98f5ae5fb334e154c2dcebcf6dd65e85
treef6fde088e2206ac786cf87bb76fab8cb70a07ea0
parent6ae382e98893a05af44528037f383c238122dcdf
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
::stable-branch::merge=9fa6c695b421f09090fdc81d1a1cadbb7d360126
cl_input.c
client.h
clvm_cmds.c
protocol.c
protocol.h
server.h
sv_user.c