Oj.load's :symbol_keys options produces segfault when symbol keys given #61

Closed
take-five opened this Issue Jan 23, 2013 · 5 comments

Comments

Projects
None yet
2 participants

Hi!

This code produces segfault:

Oj.load('{":s": 1}', :symbol_keys => true)

My Ruby is ruby-1.9.3-p362

Owner

ohler55 commented Jan 23, 2013

Verified. I'll get a fix out today if I can.

Owner

ohler55 commented Jan 23, 2013

Fixed in 2.0.2. You can check to see if it is fixed if you like.

Wow! Thanks for quick fix ) I'll check out tomorrow

I've checked it, everything is ok. Thanks!

take-five closed this Jan 24, 2013

Owner

ohler55 commented Jan 24, 2013

Thanks for finding the bug. A bug that causes a segfault takes very high priority.

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