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

src: ensure that file descriptors 0-2 are valid #875

Merged
merged 2 commits into from
Feb 18, 2015

Commits on Feb 18, 2015

  1. src: fix typo in error message

    PR-URL: nodejs#875
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
    bnoordhuis committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    a956791 View commit details
    Browse the repository at this point in the history
  2. src: ensure that file descriptors 0-2 are valid

    Check that stdin, stdout and stderr map to open file descriptors and
    remap them to /dev/null if that isn't the case.  Protects against
    information leaks or worse when io.js is started with closed stdio
    file descriptors.
    
    PR-URL: nodejs#875
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
    bnoordhuis committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    b5f25a9 View commit details
    Browse the repository at this point in the history