Commit ff028016 authored by Anatoly Korniltsev's avatar Anatoly Korniltsev Committed by Node.js GitHub Bot
Browse files

src: fix incorrect SIGSEGV handling in NODE_USE_V8_WASM_TRAP_HANDLER

Pass SA_SIGINFO to sa_flags so the TrapWebAssemblyOrContinue is treated
as sa_sigaction, not sa_handler, otherwise siginfo_t* info contains
some garbage

PR-URL: https://github.com/nodejs/node/pull/35282


Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarMinwoo Jung <nodecorelab@gmail.com>
parent ff381658
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment