This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information