summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2007-09-25 06:44:19 +0000
committerM. Kristall <mkpdev@gmail.com>2007-09-25 06:44:19 +0000
commited1a89fccdb41810c4d634005a1b1b1ac8f40c8f (patch)
tree0f1886244fd7d39b79245e9fe44521044864c387 /src/game/g_local.h
parent8534520221091bc0e6a5127b674de8c6a55d07a8 (diff)
* (bug 3307) use boundary checking to prevent potential buffer overflow
* (bug 2969) limit number of players to g_maxGameClients * use G_TeamCommand() for team vote messages
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 59e39eec..45f649d0 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -696,8 +696,8 @@ void Cmd_Score_f( gentity_t *ent );
void G_StopFollowing( gentity_t *ent );
qboolean G_FollowNewClient( gentity_t *ent, int dir );
void G_ToggleFollow( gentity_t *ent );
-qboolean G_MatchOnePlayer( int *plist, char *err, int len );
-int G_ClientNumbersFromString( char *s, int *plist );
+void G_MatchOnePlayer( int *plist, int num, char *err, int len );
+int G_ClientNumbersFromString( char *s, int *plist, int max );
int G_SayArgc( void );
qboolean G_SayArgv( int n, char *buffer, int bufferLength );
char *G_SayConcatArgs( int start );