0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2025-01-06 10:01:00 +00:00

Increase size of filename buffer

This commit is contained in:
Sara Sparks 2023-05-08 21:36:09 -04:00
parent aa952051fd
commit 37ab3e84fc

View file

@ -3658,11 +3658,11 @@ static void Got_RequestAddfoldercmd(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;
UINT8 md5sum[16];
READSTRINGN(*cp, filename, 240);
READSTRINGN(*cp, filename, MAX_WADPATH);
READMEM(*cp, md5sum, 16);
if (playernum != serverplayer)