Expand buffers to prevent potential truncation
This commit is contained in:
parent
aea99aa3a3
commit
d793e38f58
|
|
@ -65,7 +65,7 @@ void ExpandWildcards( int *argc, char ***argv )
|
|||
struct _finddata_t fileinfo;
|
||||
intptr_t handle;
|
||||
int i;
|
||||
char filename[1024];
|
||||
char filename[2048];
|
||||
char filebase[1024];
|
||||
char *path;
|
||||
|
||||
|
|
@ -338,7 +338,7 @@ char *ExpandGamePath (const char *path)
|
|||
char *ExpandPathAndArchive (const char *path)
|
||||
{
|
||||
char *expanded;
|
||||
char archivename[1024];
|
||||
char archivename[2048];
|
||||
|
||||
expanded = ExpandPath (path);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user