Skip to content

src: CHECK() for argument overflow in Spawn()

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/check-args into master

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), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

src

Merge request reports

Loading