- Dec 20, 2013
-
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
- Dec 19, 2013
-
-
Timothy J Fontaine authored
* uv: Upgrade to v0.10.21 * npm: upgrade to 1.3.21 * v8: backport fix for CVE-2013-{6639|6640} * build: unix install node and dep library headers (Timothy J Fontaine) * cluster, v8: fix --logfile=%p.log (Ben Noordhuis) * module: only cache package main (Wyatt Preul) -
Timothy J Fontaine authored
-
Ben Noordhuis authored
The %p is replaced with the current PID. This used to work in node.js v0.9.7 but it seems to have been lost somewhere along the way. This commit makes the fix from 6b713b52 ("cluster: make --prof work for workers") work again. Without it, all log data ends up in a single file and is unusable because the addresses are all wrong.
-
Timothy J Fontaine authored
Restores functionality from v0.8 where module authors may not be relying on gyp for building their modules.
-
- Dec 18, 2013
-
-
isaacs authored
-
isaacs authored
The 1.3.19 release had a critical bug: any packages published with it could not be installed, because the shasum would be incorrect. Thankfully, 1.3.19 was published using 1.3.19, so could not be installed by any users! However, if it goes out as part of a Node.js release, then obviously that would be a problem.
-
- Dec 17, 2013
-
-
isaacs authored
-
- Dec 14, 2013
-
-
jkummerow@chromium.org authored
Quoting CVE-2013-6639: The DehoistArrayIndex function in hydrogen-dehoist.cc in Google V8 before 3.22.24.7, as used in Google Chrome before 31.0.1650.63, allows remote attackers to cause a denial of service (out-of-bounds write) or possibly have unspecified other impact via JavaScript code that sets the value of an array element with a crafted index. Quoting CVE-2013-6640: The DehoistArrayIndex function in hydrogen-dehoist.cc in Google V8 before 3.22.24.7, as used in Google Chrome before 31.0.1650.63, allows remote attackers to cause a denial of service (out-of-bounds read) via JavaScript code that sets a variable to the value of an array element with a crafted index. Like 6b92a7, this is unlikely to affect node.js because it only runs local, trusted code. However, if there exists some module somewhere that populates an array index with remotely provided data this could very well be used to crash a remote server running node. Defense in depth and all. This is a backport of upstream commit r17801. Original commit log: Limit size of dehoistable array indices LOG=Y BUG=chromium:319835,chromium:319860 R=dslomov@chromium.org Review URL: https://codereview.chromium.org/74113002
-
- Dec 13, 2013
-
-
Wyatt Preul authored
-
- Dec 12, 2013
-
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
* uv: Upgrade to v0.10.20 (Timothy J Fontaine) * npm: Upgrade to 1.3.17 (isaacs) * gyp: update to 78b26f7 (Timothy J Fontaine) * build: include postmortem symbols on linux (Timothy J Fontaine) * crypto: Make Decipher._flush() emit errors. (Kai Groner) * dgram: fix abort when getting `fd` of closed dgram (Fedor Indutny) * events: do not accept NaN in setMaxListeners (Fedor Indutny) * events: avoid calling `once` functions twice (Tim Wood) * events: fix TypeError in removeAllListeners (Jeremy Martin) * fs: report correct path when EEXIST (Fedor Indutny) * process: enforce allowed signals for kill (Sam Roberts) * tls: emit 'end' on .receivedShutdown (Fedor Indutny) * tls: fix potential data corruption (Fedor Indutny) * tls: handle `ssl.start()` errors appropriately (Fedor Indutny) * tls: reset NPN callbacks after SNI (Fedor Indutny)
-
Nicolas Kaiser authored
-
Mathias Bynens authored
-
Gabriel Farrell authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
isaacs authored
-
- Dec 11, 2013
-
-
Fedor Indutny authored
When `symlink`, `link` or `rename` report EEXIST, ENOTEMPTY or EPERM - the destination file name should be included in the error message, instead of source file name. fix #6510
-
Fedor Indutny authored
NOTE: Also removed `.receivedShutdown` method of `Connection` it wasn't documented anywhere, and was rewritten with `true` after receiving `close_notify`. fix #6638
-
Timothy J Fontaine authored
Closes #6629
-
- Dec 07, 2013
-
-
Timothy J Fontaine authored
gyp by default now tries to process gyp files in parallel by using python's multiprocessing module, but it has problems on oddball platforms. We don't have many files or complex dependency chains that would benefit from parallel processing so disable by deafult fixes #6640
-
Timothy J Fontaine authored
use `--` to specify the arguments you want to pass directly to gyp. for example: `./configure -- --no-parallel -Dsome_define=foo` fixes #6370
-
Yazhong Liu authored
-
Fedor Indutny authored
fix #5255
-
- Dec 04, 2013
-
-
Kai Groner authored
When Decipher processes a stream using an incorrect key, the DecipherFinal() method throws an unhandled exception at the end of the stream.
-
isaacs authored
-
- Dec 03, 2013
-
-
Fedor Indutny authored
When calling `encOut` in loop, `maybeInitFinished()` may invoke `clearOut`'s loop, leading to the writing of interleaved data (encrypted and cleartext) into the one shared pool. Move `maybeInitFinished()` out of the loop and add assertion for future.
-
Yazhong Liu authored
-
Gabriel Falkenberg authored
-
Sam Roberts authored
The null signal test existed, but only tested the case where the target process existed, not when it did not exist. Also clarified that SIGUSR1 is reserved by Node.js only for receiveing, its not at all reserved when sending a signal with kill(). kill(pid, 'O_RDWR'), or any other node constant, "worked". I fixed this by also checking for 'SIG'. The same as done in the isSignal() function. Now the signal names supported by process.kill() are the same as those supported by process.on().
-
- Dec 02, 2013
-
-
Fedor Indutny authored
SNI callback selects a new SSL_CTX for the connection, which doesn't have NPN callbacks set up.
-
Timothy J Fontaine authored
Previously we were building the symbols, but the linker was garbage collecting the symbols because they weren't used. Inform the linker that we want to keep all symbols from v8 around.
-
- Nov 30, 2013
-
-
Yazhong Liu authored
-
- Nov 29, 2013
-
-
Michael Ridgway authored
-
Nikolai Vavilov authored
-
- Nov 27, 2013
-
-
Ben Noordhuis authored
Replace call to Number::New() with a call to Integer::NewFromUnsigned(). Profiling a Real World(TM) application with perf(1) suggests that the conversion of its argument from integer to double is disproportionally costly: over 60% of CPU cycles accountable to WriteStringImpl() are attributable to the conversion. After changing it to Integer::NewFromUnsigned(), WriteStringImpl() has dropped from the 'most costly functions' top ten altogether.
-