- Jan 05, 2021
-
-
James M Snell authored
Avoids potential use-after-free when wrap req's are synchronously destroyed. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 Refs: https://hackerone.com/bugs?subject=nodejs&report_id=988103 PR-URL: https://github.com/nodejs-private/node-private/pull/23 Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Matteo Collina authored
CVE-ID: CVE-2020-8287 Refs: https://github.com/nodejs-private/llhttp-private/pull/3 Refs: https://hackerone.com/bugs?report_id=1002188&subject=nodejs PR-URL: https://github.com/nodejs-private/node-private/pull/228 Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Matteo Collina authored
Duplicate `Transfer-Encoding` header should be a treated as a single, but with original header values concatenated with a comma separator. In the light of this, even if the past `Transfer-Encoding` ended with `chunked`, we should be not let the `F_CHUNKED` to leak into the next header, because mere presence of another header indicates that `chunked` is not the last transfer-encoding token. CVE-ID: CVE-2020-8287 Refs: https://github.com/nodejs-private/llhttp-private/pull/3 Refs: https://hackerone.com/bugs?report_id=1002188&subject=nodejs PR-URL: https://github.com/nodejs-private/node-private/pull/228 Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Rich Trott authored
Spell out or omit _i.e._ and _e.g._ as appropriate. PR-URL: https://github.com/nodejs/node/pull/36737 Reviewed-By:
Chengzhong Wu <legendecas@gmail.com> Reviewed-By:
Gireesh Punathil <gpunathi@in.ibm.com>
-
Rich Trott authored
Replace checklist with a list. Clarify when things like tests and benchmarks are needed. PR-URL: https://github.com/nodejs/node/pull/36739 Reviewed-By:
Zeyu Yang <himself65@outlook.com> Reviewed-By:
Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
Yash Ladha <yash@yashladha.in>
-
- Jan 04, 2021
-
-
Pranshu Jethmalani authored
PR-URL: https://github.com/nodejs/node/pull/36719 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By:
Yash Ladha <yash@yashladha.in> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Rich Trott authored
Add coverage for breakLength option resulting in a single-column array display. Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/util/inspect.js.html#L1277 PR-URL: https://github.com/nodejs/node/pull/36657 Reviewed-By:
Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Joseph Hackman authored
Fixes: https://github.com/nodejs/node/issues/28438 PR-URL: https://github.com/nodejs/node/pull/34231 Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Thiago Padilha authored
The 'overlapped' value sets the UV_OVERLAPPED_PIPE libuv flag in the child process stdio. Fixes: https://github.com/nodejs/node/issues/29238 PR-URL: https://github.com/nodejs/node/pull/29412 Reviewed-By:
Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
James M Snell authored
Signed-off-by:
James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/36536 Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Joyee Cheung <joyeec9h3@gmail.com>
-
James M Snell authored
Fixes: https://github.com/nodejs/node/issues/28592 Signed-off-by:
James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/36715 Reviewed-By:
Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Robert Nagy <ronagy@icloud.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com>
-
James M Snell authored
Fixes: https://github.com/nodejs/node/issues/24987 Signed-off-by:
James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/36713 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
- Jan 03, 2021
-
-
Adrien Maret authored
Accessing the rss value through memoryUsage() can be expensive because this method will also generate memory usage statistics by iterating on each page. This commit intend to offer a more direct access to rss value. Refs: #33384 PR-URL: https://github.com/nodejs/node/pull/34291 Reviewed-By:
Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Kevin Locke authored
The default for the `emitClose` option was changed from `false` to `true` by nodejs/node#31408 which landed in f0d2df41 for v14.0.0. This commit updates the fs doc to match the current behavior. Signed-off-by:
Kevin Locke <kevin@kevinlocke.name> PR-URL: https://github.com/nodejs/node/pull/36653 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Robert Nagy <ronagy@icloud.com>
-
- Jan 02, 2021
-
-
Andrey Pechkurov authored
PR-URL: https://github.com/nodejs/node/pull/36705 Refs: https://github.com/nodejs/node/issues/36683 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
- Jan 01, 2021
-
-
Daijiro Wachi authored
Refs: https://github.com/web-platform-tests/wpt/pull/26992 PR-URL: https://github.com/nodejs/node/pull/36659 Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Daijiro Wachi authored
Refs: https://github.com/web-platform-tests/wpt/pull/26824 PR-URL: https://github.com/nodejs/node/pull/36659 Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Daijiro Wachi authored
Refs: https://github.com/web-platform-tests/wpt/pull/26385 PR-URL: https://github.com/nodejs/node/pull/36659 Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Daijiro Wachi authored
Refs: https://github.com/web-platform-tests/wpt/pull/26643 PR-URL: https://github.com/nodejs/node/pull/36659 Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Nitzan Uziely authored
PR-URL: https://github.com/nodejs/node/pull/36623 Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
ZiJian Liu authored
1. test subscribe with invalid args https://coverage.nodejs.org/coverage-21f2e8859dfbf09f/lib/diagnostics_channel.js.html#L27 2. test create channel with invalid args https://coverage.nodejs.org/coverage-21f2e8859dfbf09f/lib/diagnostics_channel.js.html#L98 PR-URL: https://github.com/nodejs/node/pull/36602 Reviewed-By:
Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Michael Dawson <midawson@redhat.com> Reviewed-By:
Pooja D P <Pooja.D.P@ibm.com> Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Yash Ladha <yash@yashladha.in>
-
raisinten authored
The associated condition mentioned in the URL parsing algorithm of the WHATWG URL Standard is: url is special and c is U+005C (\) So, `special_back_slash` must be updated whenever `special` is updated. Fixes: https://github.com/nodejs/node/issues/36559 PR-URL: https://github.com/nodejs/node/pull/36613 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
James M Snell authored
Signed-off-by:
James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/36534 Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
-
Antoine du Hamel authored
PR-URL: https://github.com/nodejs/node/pull/36651 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Yash Ladha <yash@yashladha.in>
-
- Dec 31, 2020
-
-
Michaël Zasso authored
String::NewFromUtf8 doesn't generate an exception in V8 when the string is too long but is guaranteed to return an empty MaybeLocal only in that case. Generate a Node.js exception when it happens. Fixes: https://github.com/nodejs/node/issues/35676 PR-URL: https://github.com/nodejs/node/pull/36661 Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
raisinten authored
Since `length` is `size_t`, it can accept 64-bit integers too. Refs: https://man7.org/linux/man-pages/man2/write.2.html Fixes: https://github.com/nodejs/node/issues/36643 PR-URL: https://github.com/nodejs/node/pull/36667 Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Yash Ladha <yash@yashladha.in> Reviewed-By:
Zeyu Yang <himself65@outlook.com>
-
ZiJian Liu authored
Fixes: https://github.com/nodejs/node/issues/36654 PR-URL: https://github.com/nodejs/node/pull/36665 Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Robert Nagy <ronagy@icloud.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By:
Yash Ladha <yash@yashladha.in>
-
- Dec 30, 2020
-
-
Rich Trott authored
PR-URL: https://github.com/nodejs/node/pull/36644 Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Daijiro Wachi <daijiro.wachi@gmail.com>
-
Rich Trott authored
Move duplicate abort handler logic into a separate function. PR-URL: https://github.com/nodejs/node/pull/36644 Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Daijiro Wachi <daijiro.wachi@gmail.com>
-
Rich Trott authored
If an AbortController passed to execfile() is already aborted, use the same behavior as if the controller was aborted after calling execfile(). This mimics the behavior of fetch in the browser. PR-URL: https://github.com/nodejs/node/pull/36644 Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Daijiro Wachi <daijiro.wachi@gmail.com>
-
Rich Trott authored
Test that reusing an aborted AbortController with execfile() results in immediate SIGTERM. PR-URL: https://github.com/nodejs/node/pull/36644 Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Daijiro Wachi <daijiro.wachi@gmail.com>
-
Robert Nagy authored
Some streams that willEmitClose unecessarily fallback to legacy events. PR-URL: https://github.com/nodejs/node/pull/36649 Reviewed-By:
Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com>
-
Dr authored
Add to the history table that the `destroyed` value returns `true` after the incoming data is consumed. Refs: https://github.com/nodejs/node/issues/36617 Refs: https://github.com/nodejs/node/pull/33035 PR-URL: https://github.com/nodejs/node/pull/36641 Reviewed-By:
Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
Robert Nagy <ronagy@icloud.com>
-
- Dec 29, 2020
-
-
Brian White authored
PR-URL: https://github.com/nodejs/node/pull/36632 Reviewed-By:
Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com>
-
ZiJian Liu authored
PR-URL: https://github.com/nodejs/node/pull/36609 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Antoine du Hamel <duhamelantoine1995@gmail.com>
-
Antoine du Hamel authored
PR-URL: https://github.com/nodejs/node/pull/36194 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Matteo Collina authored
PR-URL: https://github.com/nodejs/node/pull/36618 Reviewed-By:
Robert Nagy <ronagy@icloud.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Richard Lau <rlau@redhat.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com>
-
Yash Ladha authored
Fixes: https://github.com/nodejs/node/issues/36500 PR-URL: https://github.com/nodejs/node/pull/36666 Reviewed-By:
Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By:
Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
Pooja D P <Pooja.D.P@ibm.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Pooja D P authored
PR-URL: https://github.com/nodejs/node/pull/36552 Reviewed-By:
Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Antoine du Hamel authored
PR-URL: https://github.com/nodejs/node/pull/36265 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com>
-