Set_superclass can be used to trigger a segfault #659

Closed
agrimm opened this Issue Jan 23, 2011 · 1 comment

Projects

None yet

2 participants

@agrimm
Contributor
agrimm commented Jan 23, 2011

ruby -e "Fixnum.set_superclass Object ; 42.to_int" triggers a segfault, as described in https://gist.github.com/7eade71fdf871a7c32fc

@evanphx
Member
evanphx commented Feb 15, 2011

Make set_superclass private to declare intent. Closed by 1e43d68

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment