This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Segfault in runInContext #558
Comments
bnoordhuis
added a commit
to bnoordhuis/node
that referenced
this issue
Jul 5, 2011
@bnoordhuis, LGTM |
By the way, something like this can happen at other places, too (Script.prototype.runInThisContext.call({}, ...) should end badly, too; I think all other WrappedObjects (or ObjectWraps? that superclass that is used in all similar cases) wrapping external objects should do this check...). |
@Herby Those calls should be safe (though they won't do what you expect) but if you find any that crash node, please post a test case. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following code generates segmentation fault:
possibly runInContext should check if given object is valid context.
The text was updated successfully, but these errors were encountered: