Fixed check against uninitialized string in extension loader (bug 5546, r=psychonic).
This commit is contained in:
parent
8fe22c33bf
commit
4c722bf623
@ -123,10 +123,10 @@ CLocalExtension::CLocalExtension(const char *filename)
|
||||
"extensions/auto." GAMEFIX "/%s." PLATFORM_LIB_EXT,
|
||||
filename);
|
||||
|
||||
normal:
|
||||
/* Try the "normal" version */
|
||||
if (!g_LibSys.IsPathFile(path))
|
||||
{
|
||||
normal:
|
||||
g_SourceMod.BuildPath(Path_SM,
|
||||
path,
|
||||
PLATFORM_MAX_PATH,
|
||||
|
Loading…
Reference in New Issue
Block a user