Skip Menu |

This queue is for tickets about the Win32-Job CPAN distribution.

Report information
The Basics
Id: 121103
Status: new
Priority: 0/
Queue: Win32-Job

Owner: Nobody in particular
Requestors: jkahrman [...]

Bug Information
Severity: Important
Broken in:
  • 0.02
  • 0.03
  • 0.04
  • 0.05
Fixed in: (no value)

Subject: Win32::Job->spawn doesn't search in last PATH entry
Download (untitled) / with headers
text/plain 372b
If the first argument to Win32::Job->spawn doesn't have path separators, it is supposed to search the PATH looking for the executable. However, it won't search in the last PATH entry if the PATH doesn't end with a ';'. The problem is the use of "strchr(curr, ';');" in Job.xs. It returns a null pointer when the search value isn't found, and this case isn't handled.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to