child_process: fix segfault after failed spawn
The process handle is uninitialized when uv_spawn() fails so don't export the handle to JS land when that happens. Attempts to close the uninitialized handle resulted in segmentation faults and memory corruption. Fixes #2481.
parent
d5d043f2
Please register or sign in to comment