[ruby-cvs:60132] nobu:r52979 (trunk): gc.c: NULL check at memsize

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Dec 9 02:28:32 JST 2015


nobu	2015-12-09 02:28:32 +0900 (Wed, 09 Dec 2015)

  New Revision: 52979

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52979

  Log:
    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.

  Modified files:
    trunk/gc.c


More information about the ruby-cvs mailing list