[ruby-cvs:70928] normal:r63837 (trunk): vm.c (rb_source_location): check for NULL cfp->iseq

normal at ruby-lang.org normal at ruby-lang.org
Tue Jul 3 18:06:28 JST 2018


normal	2018-07-03 18:06:28 +0900 (Tue, 03 Jul 2018)

  New Revision: 63837

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

  Log:
    vm.c (rb_source_location): check for NULL cfp->iseq
    
    rb_vm_get_sourceline returns zero if cfp->iseq is NULL,
    so rb_iseq_path should not try to follow NULL cfp->iseq,
    either.

  Modified files:
    trunk/vm.c


More information about the ruby-cvs mailing list