node/lib
Robert Chiras 612dfeb647 child_process: Check stderr before accessing it
If something bad happens in spawnSync, stderr might be null. Therefore,
we have to check it before using it, so we won't mask the actual
exception.

Ref: https://github.com/nodejs/node/pull/9152
PR-URL: https://github.com/nodejs/node/pull/6877
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2016-10-26 14:09:29 -04:00
..
internal child_process: workaround fd passing issue on OS X 2016-10-26 14:09:13 -04:00
.eslintrc tools: apply custom buffer lint rule to /lib only 2016-03-21 12:57:59 -07:00
_debug_agent.js debugger: use arrow function for lexical this 2016-10-26 14:09:04 -04:00
_debugger.js debugger: remove obsolete setTimeout 2016-07-14 12:44:51 -07:00
_http_agent.js tls,https: respect address family when connecting 2016-07-12 10:59:40 -07:00
_http_client.js http: wait for both prefinish/end to keepalive 2016-07-14 12:44:48 -07:00
_http_common.js http: skip body and next message of CONNECT res 2016-07-12 10:59:45 -07:00
_http_incoming.js http: fix no dumping after maybeReadMore 2016-07-14 12:44:41 -07:00
_http_outgoing.js http: remove unnecessary check 2016-03-21 12:57:55 -07:00
_http_server.js http: check reason chars in writeHead 2016-09-28 01:06:08 +10:00
_linklist.js
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js
_stream_readable.js lib: implement consistent brace style 2016-10-26 14:08:53 -04:00
_stream_transform.js stream: prevent object map change in TransformState 2016-03-21 12:57:54 -07:00
_stream_wrap.js stream_wrap: error if stream has StringDecoder 2015-12-23 08:38:33 -08:00
_stream_writable.js streams: support unlimited synchronous cork/uncork cycles 2016-05-04 10:19:04 -07:00
_tls_common.js tls: scope loop vars with let 2016-03-02 14:01:11 -08:00
_tls_legacy.js lib: use arrow functions instead of bind 2016-03-02 14:01:11 -08:00
_tls_wrap.js tls: catch certCbDone exceptions 2016-07-14 12:45:02 -07:00
assert.js assert: remove code that is never reached 2016-10-26 14:09:21 -04:00
buffer.js buffer: fix fill with encoding in Buffer.alloc() 2016-10-26 14:09:29 -04:00
child_process.js child_process: Check stderr before accessing it 2016-10-26 14:09:29 -04:00
cluster.js cluster: remove bind() and self 2016-10-26 14:09:01 -04:00
console.js console: check that stderr is writable 2016-03-30 13:12:14 -07:00
constants.js
crypto.js streams: refactor LazyTransform to internal/ 2015-09-15 13:53:21 -04:00
dgram.js lib: reduce usage of self = this 2016-03-30 13:12:13 -07:00
dns.js dns: tweak regex for IPv6 addresses 2016-10-26 14:09:18 -04:00
domain.js domains: fix handling of uncaught exceptions 2015-12-23 08:38:33 -08:00
events.js lib,test: remove extra semicolons 2016-03-02 14:01:11 -08:00
freelist.js lib,test: add freelist deprecation and test 2015-07-17 19:48:31 -07:00
fs.js fs: Remove unused branches 2016-04-08 16:42:49 -04:00
http.js lib,src: remove usage of events.EventEmitter 2015-09-23 08:39:34 +10:00
https.js lib: reduce usage of self = this 2016-03-30 13:12:13 -07:00
module.js lib: implement consistent brace style 2016-10-26 14:08:53 -04:00
net.js net: add length check when normalizing args 2016-10-26 14:09:20 -04:00
os.js lib: refactor code with startsWith/endsWith 2016-04-08 17:16:43 -04:00
path.js lib: scope loop variables 2016-03-02 14:01:11 -08:00
process.js
punycode.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
querystring.js querystring: don't stringify bad surrogate pair 2016-04-11 11:10:47 -04:00
readline.js readline: keypress trigger for escape character 2016-10-26 14:09:04 -04:00
repl.js repl: Enable tab completion for global properties 2016-10-26 14:09:16 -04:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 08:39:34 +10:00
string_decoder.js string_decoder: fix performance regression 2016-03-21 12:57:54 -07:00
sys.js util: introduce printDeprecationMessage function 2015-06-04 10:59:43 +03:00
timers.js tools: add Node.js-specific ESLint rules 2016-03-21 12:57:57 -07:00
tls.js tls: copy the Buffer object before using 2016-10-26 14:09:25 -04:00
tty.js tty: use blocking mode on OS X 2016-07-14 12:44:34 -07:00
url.js url: fix off-by-one error in loop handling dots 2016-10-26 14:09:09 -04:00
util.js util: inspect boxed symbols like other primitives 2016-10-26 14:08:52 -04:00
v8.js src: add total_available_size to v8 statistics 2015-08-11 22:51:50 +02:00
vm.js
zlib.js zlib: release callback and buffer after processing 2016-07-12 10:59:42 -07:00