mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
fix some AddressSanitizer issues
This commit is contained in:
+1
-1
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user