Skip to content

child_process: validate arguments for null bytes

This change adds validation to reject an edge case where the child_process API argument strings might contain null bytes somewhere in between. Such strings were being silently truncated before, so throwing an error should prevent misuses of this API.

Fixes: https://github.com/nodejs/node/issues/44768 Signed-off-by: Darshan Sen raisinten@gmail.com

Merge request reports

Loading