This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
ObjectWrap/NODE_SET_PROTOTYPE_METHOD/node::SetPrototypeMethod is unsafe #6690
Closed
Description
SetPrototypeMethod should set a Signature
on the FunctionTemplate
, to prevent issues like TryGhost/node-sqlite3#236
When used in conjunction with ObjectWrap, w/o a signature it is possible to pass bogus things as this
, which could become a security hole.
Metadata
Metadata
Assignees
Labels
No labels