- Increased buffer size (MAX_F_STRING*4) in Project::Build, Execute() and ShellOpen()
bool System_Execute(char * env, char * command, va_list args)
{
bool result = false;
- char commandLine[MAX_F_STRING];
+ char commandLine[MAX_F_STRING*4];
vsnprintf(commandLine, sizeof(commandLine)-1, command, args);
commandLine[sizeof(commandLine)-1] = 0;
bool System_ShellOpen(char * fileName, va_list args)
{
bool result = false;
- char filePath[MAX_F_STRING];
+ char filePath[MAX_F_STRING*4];
int len;
#if defined(__WIN32__)
filePath[0] = '"';
char * targetPlatform = crossCompiling ? (char *)compiler.targetPlatform : "";
int numJobs = compiler.numJobs;
- char command[MAX_F_STRING];
+ char command[MAX_F_STRING*4];
char * compilerName;
compilerName = CopyString(compiler.name);