security fix: prevent command injection via callvote
This commit is contained in:
1 parent
cde5fcfb9b
commit
f5aae78481
4 files changed
+29
-3
No files matched your search
@@ -434,6 +434,7 @@ char *Cmd_Args (void);
|
||||
char *Cmd_ArgsFrom( int arg );
|
||||
void Cmd_ArgsBuffer( char *buffer, int bufferLength );
|
||||
char *Cmd_Cmd (void);
|
||||
void Cmd_Args_Sanitize( void );
|
||||
// The functions that execute commands get their parameters with these
|
||||
// functions. Cmd_Argv () will return an empty string, not a NULL
|
||||
// if arg > argc, so string operations are allways safe.
|
||||
|
||||
Reference in new issue
Block a user