[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in the call chain between process*/ports and sch_process_star_ports -> crash



Matthew Flatt <mflatt@cs.utah.edu> writes:

| I'll have to check more closely later, but my initial guess is that the
| `c' in
| 
|  #ifdef WINDOWS_PROCESSES
|     /* spawnv is too stupid to protect spaces, etc. in the arguments: */
|     for (i = 0; i < c; i++) {
|       char *cla;
|       cla = cmdline_protect(argv[i]);
|       argv[i] = cla;
|     }
|  #endif
| 
| should be `(c - offset)'.

That seemed to work.  Thanks!

-- 
Hannu