diff options
author | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-20 20:50:20 +0000 |
---|---|---|
committer | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-20 20:50:20 +0000 |
commit | 813e00ad2f66bb6903a46185f984476767ce3b95 (patch) | |
tree | fb5ba26ee6b53837badc8a5dfc4837bbfb44d324 /ext/readline | |
parent | db952b4fdca3d655602b75f0a9a3140096235bdd (diff) | |
download | ruby-813e00ad2f66bb6903a46185f984476767ce3b95.tar.gz |
* ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when
passed object is a special const, instead of SEGV.
Based patch by Kohei Suzuki (eagletmt). [ruby-core:69692] [Bug #11291]
* test/objspace/test_objspace.rb(test_dump_special_consts): Test for above fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/readline')
0 files changed, 0 insertions, 0 deletions