fix some AddressSanitizer issues

This commit is contained in:
nillerusr
2022-06-14 13:16:08 +03:00
parent a0e05d885a
commit 29db778997
8 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -624,7 +624,7 @@ void Cmd_Exec_f( const CCommand &args )
}
}
char buf[16384] = { 0 };
static char buf[16384] = { 0 };
int len = 0;
char *f = (char *)COM_LoadStackFile( fileName, buf, sizeof( buf ), len );
if ( !f )