Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET_KEY_INDICES_* Should check the size of the Key PMC #18

Open
Whiteknight opened this issue Sep 1, 2010 · 0 comments
Open

GET_KEY_INDICES_* Should check the size of the Key PMC #18

Whiteknight opened this issue Sep 1, 2010 · 0 comments

Comments

@Whiteknight
Copy link
Owner

At the moment we assume that the given Key PMC has an arity of 2, and failing this assumption may cause segfaults. Add explicit checks that the Key PMC has an arity of exactly 2, and throw an exception if not. If we can find a way to do this without cashing in performance, all the better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant