Commit 08a5b442 authored by C. Scott Ananian's avatar C. Scott Ananian Committed by Trevor Norris
Browse files

node: add signature to SET_PROTOTYPE_METHOD



This prevents segfaults when a native method is reassigned to a
different object (which corrupts args.This()).  When unwrapping,
clients should use args.Holder() instead of args.This().

Closes #6690.

Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent d4fcb23e
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