mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Sanitize the name with a maximum buffer size limit
This commit is contained in:
parent
5801af34bb
commit
333c452f44
5 changed files with 9 additions and 6 deletions
|
@ -1155,7 +1155,7 @@ void Com_Init( char *commandLine );
|
|||
void Com_Frame( void );
|
||||
void Com_Shutdown( void );
|
||||
|
||||
qboolean Com_SanitizeName( const char *pszOldName, char *pszNewName );
|
||||
qboolean Com_SanitizeName( const char *pszOldName, char *pszNewName, size_t bufferSize );
|
||||
const char *Com_GetArchiveFileName( const char *filename, const char *extension );
|
||||
const char *Com_GetArchiveFolder();
|
||||
void Com_WipeSavegame( const char *savename );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue