src: CHECK() for argument overflow in Spawn()
This commit adds checks for overflow of args
and env
in Spawn()
. It seems extremely unlikely that either of these values would overflow from a valid use case.
Fixes: https://github.com/nodejs/node/issues/15622
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
src