genapts scheduler: fix a buffer overflow. 512 bytes should be enough for everyone :)
This commit is contained in:
parent
7d919e2329
commit
3f91f11115
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
void ProcessList::Launch( string command, string work_dir, string file, AirportInfo* pai, bool last )
|
||||||
{
|
{
|
||||||
Process::Args args;
|
Process::Args args;
|
||||||
char arg[64];
|
char arg[512];
|
||||||
Pipe outPipe;
|
Pipe outPipe;
|
||||||
|
|
||||||
// generate correct command line arguments
|
// generate correct command line arguments
|
||||||
|
|
Loading…
Add table
Reference in a new issue