Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation for adding global handles
We want to make sure people are only adding valid handles to the list of global handles. This means that the VALUE pointer in the CAPI needs to point to a proper CAPI handle and not point to some random memory location that can cause things such as GC crashes later on. Should help in debugging stuff like therubyracer to see earlier where extensions such as that register invalid handles.
- Loading branch information
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters