Skip to content
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
@cscott

Description

@cscott

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions