Actually, node <21.2.0 uses a base64 library that crashes the process with an illegal instruction (caused by a flawed AVX support detection routine) if you're 1. running it on certain Skylake CPUs, and 2. have enabled kernel mitigations for the "gather data sampling" vulnerability.
The fix has not yet been backported to node's 18.x branch.
And Electron <27 contains an *additional* similar bug in node's simdutf because they don't use the latest node 18.x release.
Actually, node <21.2.0 uses a base64 library that crashes the process with an illegal instruction (caused by a flawed AVX support detection routine) if you're 1. running it on certain Skylake CPUs, and 2. have enabled kernel mitigations for the "gather data sampling" vulnerability.
@thomasfuchs π What's also surprisingly funny and dumb: divison by 0 results in "Infinity" in #JavaScript π (AFAIK this is also connected to the exclusive usage of floating point numbers because the standard says so π€¦). Same division problem exists in more languages with weak types. @jasonsando
@Razemix Exactly! Couldn't remember the name, I knew it was some forgettable alphanumeric code π I've read the docs very briefly 1 yr ago, the infinity nonsense is there. I don't know what's behind it, but mathematically it's utter nonsense, division by zero is undefined and nothing else. @thomasfuchs@jasonsando
@thomasfuchs @jasonsando
I hope the hardware doesn't have an FDIV-like bug layered on top of that