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

Null pointer dereference in ObjectSpace.each_object #3436

Closed
clayton-shopify opened this Issue Feb 6, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@clayton-shopify
Contributor

clayton-shopify commented Feb 6, 2017

The following input to mirb demonstrates a crash:

n
s
s
k
(h)
GC.start
ObjectSpace.each_object{|obj|obj[]}

I was able to reproduce on both OS X (building with clang) and Ubuntu 14.04 (building with gcc).

This issue was reported by https://hackerone.com/ston3

@matz matz closed this in 76135e7 Feb 8, 2017

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