Changeset 989 for trunk/dll/systemf.c
- Timestamp:
- Mar 2, 2008, 12:34:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/systemf.c
r985 r989 93 93 return -1; 94 94 } 95 commandline = xmalloc(MaxComLineStrg , pszSrcFile, __LINE__);95 commandline = xmalloc(MaxComLineStrg + 1, pszSrcFile, __LINE__); 96 96 if (!commandline) 97 97 return -1; //already complained … … 466 466 case 'R': 467 467 case 'r': 468 if (pp + strlen(list[x]) > commandline + 1250)468 if (pp + strlen(list[x]) > commandline + MaxComLineStrg) 469 469 goto BreakOut; 470 470 if (*(p + 1) == 'r') { … … 482 482 if (*(p + 1) == 'F' && dot) 483 483 *dot = 0; 484 if (pp + strlen(file) > commandline + 1250)484 if (pp + strlen(file) > commandline + MaxComLineStrg) 485 485 goto BreakOut; 486 486 if (needs_quoting(file)) { … … 505 505 case 'A': 506 506 case 'a': 507 if (pp + strlen(list[x]) > commandline + 1250)507 if (pp + strlen(list[x]) > commandline + MaxComLineStrg) 508 508 goto BreakOut; 509 509 if (needs_quoting(list[x]) && !strchr(list[x], '\"')) { … … 534 534 case 'e': 535 535 if (ext) { 536 if (pp + strlen(ext) > commandline + 1250)536 if (pp + strlen(ext) > commandline + MaxComLineStrg) 537 537 goto BreakOut; 538 538 if (needs_quoting(ext)) {
Note:
See TracChangeset
for help on using the changeset viewer.