Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
GET_KEY_INDICES_* Should check the size of the Key PMC #18
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.