mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 21:31:46 +00:00
Fix buffer overflow when loading addons through symlinks
This commit is contained in:
parent
8647281a51
commit
d0dd329a82
1 changed files with 1 additions and 1 deletions
|
@ -2976,7 +2976,7 @@ static void pathonly(char *s)
|
|||
*/
|
||||
static const char *searchWad(const char *searchDir)
|
||||
{
|
||||
static char tempsw[256] = "";
|
||||
static char tempsw[MAX_WADPATH] = "";
|
||||
filestatus_t fstemp;
|
||||
|
||||
strcpy(tempsw, WADKEYWORD1);
|
||||
|
|
Loading…
Reference in a new issue