Please sign in to comment.
child_process: use stdio.fd even if it is 0
Previously, in _validateStdio we were using stdio.fd || stdio. If stdio.fd was falsy (or 0 in the case of stdin), then the entire stdio object would be passed which could cause a crash. Fixes: #2721 PR-URL: #2727 Reviewed-By: silverwind - Roman Reiss <firstname.lastname@example.org> Reviewed-By: cjihrig - Colin Ihrig <email@example.com> Reviewed-By: indutny - Fedor Indutny <firstname.lastname@example.org>
- Loading branch information...
Showing with 13 additions and 1 deletion.