From b282640c5353f37b706d3395718e80db244644b2 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 17 Dec 2022 21:01:15 -0600 Subject: user/node: Update to 16.19.0; fix test, NULL deref * The worker-stdio test no longer raises RangeError on 32-bit Intel. * The sigint test is no longer flaky (backported from 18 branch). * The C++ Environment handler no longer segfaults when /proc is unmounted. (Submitted upstream.) Fixes: #795 --- user/node/pmmx-test.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 user/node/pmmx-test.patch (limited to 'user/node/pmmx-test.patch') diff --git a/user/node/pmmx-test.patch b/user/node/pmmx-test.patch new file mode 100644 index 000000000..aad874a90 --- /dev/null +++ b/user/node/pmmx-test.patch @@ -0,0 +1,16 @@ +The pmmx Node binary is too large to read entirely into js memory. + +Issue: #795 +See-Also: https://bugzilla.opensuse.org/show_bug.cgi?id=1183155 + +--- node-v16.15.0/test/parallel/test-worker-stdio.js.old 2022-04-26 22:03:31.000000000 +0000 ++++ node-v16.15.0/test/parallel/test-worker-stdio.js 2022-12-17 23:44:49.604182229 +0000 +@@ -27,7 +27,7 @@ + const passed = new BufferingWritable(); + + const w = new Worker(__filename, { stdin: true, stdout: true }); +- const source = fs.createReadStream(process.execPath); ++ const source = fs.createReadStream(process.execPath, { end: 1048576 }); + source.pipe(w.stdin); + source.pipe(original); + w.stdout.pipe(passed); -- cgit v1.2.3-60-g2f50