diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 17:28:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 17:28:32 +0000 |
commit | e0f89c0a291f162c8092cd27cb21f1cfea66d842 (patch) | |
tree | 2730acc4fe71a77aff08be765d5d2b1afb8f77bc /strftime.c | |
parent | da88b8603a2dae8d9c1257c9ea2a2ff4f7139acb (diff) | |
download | ruby-e0f89c0a291f162c8092cd27cb21f1cfea66d842.tar.gz |
gc.c: NULL check at memsize
* gc.c (rb_objspace_data_type_memsize): consider NULL data uses no
memory without calling dsize function as well as other functions.
fix SEGV in test/objspace with RUBY_ISEQ_DUMP_DEBUG=to_binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'strftime.c')
0 files changed, 0 insertions, 0 deletions