mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-07 18:40:49 +00:00
Increase size of filename buffer
This commit is contained in:
parent
aa952051fd
commit
37ab3e84fc
1 changed files with 2 additions and 2 deletions
|
@ -3658,11 +3658,11 @@ static void Got_RequestAddfoldercmd(UINT8 **cp, INT32 playernum)
|
||||||
|
|
||||||
static void Got_Addfilecmd(UINT8 **cp, INT32 playernum)
|
static void Got_Addfilecmd(UINT8 **cp, INT32 playernum)
|
||||||
{
|
{
|
||||||
char filename[241];
|
char filename[MAX_WADPATH+1];
|
||||||
filestatus_t ncs = FS_NOTCHECKED;
|
filestatus_t ncs = FS_NOTCHECKED;
|
||||||
UINT8 md5sum[16];
|
UINT8 md5sum[16];
|
||||||
|
|
||||||
READSTRINGN(*cp, filename, 240);
|
READSTRINGN(*cp, filename, MAX_WADPATH);
|
||||||
READMEM(*cp, md5sum, 16);
|
READMEM(*cp, md5sum, 16);
|
||||||
|
|
||||||
if (playernum != serverplayer)
|
if (playernum != serverplayer)
|
||||||
|
|
Loading…
Reference in a new issue