Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

child_process: validate arguments for null bytes #44782

Commits on Oct 3, 2022

  1. 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: nodejs#44768
    Signed-off-by: Darshan Sen <raisinten@gmail.com>
    RaisinTen committed Oct 3, 2022
    Copy the full SHA
    a6bb1c4 View commit details
    Browse the repository at this point in the history