mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 05:11:08 +00:00
Merge branch 'fix-buffer-overflow-symlinks' into 'next'
Fix buffer overflow when loading addons through symlinks See merge request STJr/SRB2!2402
This commit is contained in:
commit
bcd55f778d
1 changed files with 1 additions and 1 deletions
|
@ -2987,7 +2987,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