1
0
Fork 0

genapts scheduler: fix a buffer overflow. 512 bytes should be enough for everyone :)

This commit is contained in:
Christian Schmitt 2012-07-09 13:03:53 +02:00
parent 7d919e2329
commit 3f91f11115

View file

@ -197,7 +197,7 @@ ProcessList::ProcessList( int n, string& summaryfile, Scheduler* pScheduler ) :
void ProcessList::Launch( string command, string work_dir, string file, AirportInfo* pai, bool last )
{
Process::Args args;
char arg[64];
char arg[512];
Pipe outPipe;
// generate correct command line arguments