aboutsummaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-09-24 11:51:14 +0200
committerAnna Henningsen <anna@addaleax.net>2018-10-04 09:20:24 -0700
commitcbc3ef64ceaf95ec1d0d1535211ce3a6945407e1 (patch)
treebd63c53649b149b8860a7332010e2f952574b3e0 /src/node.h
parentd0fc382c4b18a7021d0a93194bc4b304ed6f7d6f (diff)
downloadandroid-node-v8-cbc3ef64ceaf95ec1d0d1535211ce3a6945407e1.tar.gz
android-node-v8-cbc3ef64ceaf95ec1d0d1535211ce3a6945407e1.tar.bz2
android-node-v8-cbc3ef64ceaf95ec1d0d1535211ce3a6945407e1.zip
process: allow reading from stdout/stderr sockets
Allow reading from stdio streams that are conventionally associated with process output, since this is only convention. This involves disabling the oddness around closing stdio streams. Its purpose is to prevent the file descriptors 0 through 2 from being closed, since doing so can lead to information leaks when new file descriptors are being opened; instead, not doing anything seems like a more reasonable choice. Fixes: https://github.com/nodejs/node/issues/21203 PR-URL: https://github.com/nodejs/node/pull/23053 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node.h')
0 files changed, 0 insertions, 0 deletions