dhewm3/neo/game/script
Daniel Gibson a7660020b8 Fix usage of invalid pointer in idCompiler::CompileFile()
The `const char* filename` arg is passed from idProgram::CompileText(),
where it's from idProgram::filename - and that filename can get modified
in idCompiler::NextToken() when it calls gameLocal.program.GetFilenum()
and if the idStr grows and reallocates for that modification,
the filename pointer becomes invalid.
So store `filename` in an idStr and use that when logging the
compile time.
2021-07-15 07:00:18 +02:00
..
Script_Compiler.cpp Fix usage of invalid pointer in idCompiler::CompileFile() 2021-07-15 07:00:18 +02:00
Script_Compiler.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Script_Interpreter.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Script_Interpreter.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Script_Program.cpp Fix savegame-compatibility of scripts, increase BUILD_NUMBER 2021-02-21 06:05:47 +01:00
Script_Program.h Fix savegame-compatibility of scripts, increase BUILD_NUMBER 2021-02-21 06:05:47 +01:00
Script_Thread.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Script_Thread.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00