Open
Description
Version
v23.6.0
Platform
Linux SMP Debian 5.10.103-1 (2022-03-07) x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
Hi,
I would like to report a bug, it can be reproduced by running the PoC below:
const {exec} = require('child_process');
Object.defineProperty(Array.prototype, "2", {
set: function () {},
});
(async function () {
exec('pwd', (err, stdout, stderr) => {
console.log(stdout);
});
})();
Regards,
AH
How often does it reproduce? Is there a required condition?
It reproduces anytime by simply running the given PoC on the given Node.js version.
What is the expected behavior? Why is that the expected behavior?
It is a crash.
What do you see instead?
FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal
Additional information
No response
Activity