* (bug 3412) %s expansion security patch (DevHC)
This commit is contained in:
1 parent
9cc4e0c976
commit
59c231c6c6
7 files changed
+12
-12
No files matched your search
@@ -1428,6 +1428,6 @@ void PS_SetBaseFolder(char *path)
|
||||
#ifdef BSPC
|
||||
sprintf(basefolder, path);
|
||||
#else
|
||||
Com_sprintf(basefolder, sizeof(basefolder), path);
|
||||
Com_sprintf(basefolder, sizeof(basefolder), "%s", path);
|
||||
#endif
|
||||
} //end of the function PS_SetBaseFolder
|
||||
Reference in new issue
Block a user