ruby-changes:6755
From: mame <ko1@a...>
Date: Thu, 31 Jul 2008 00:11:26 +0900 (JST)
Subject: [ruby-changes:6755] Ruby:r18271 (trunk): * proc.c (rb_proc_call_with_block): prevent null reference.
mame 2008-07-31 00:11:09 +0900 (Thu, 31 Jul 2008) New Revision: 18271 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18271 Log: * proc.c (rb_proc_call_with_block): prevent null reference. Modified files: trunk/ChangeLog trunk/proc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18270) +++ ChangeLog (revision 18271) @@ -1,3 +1,7 @@ +Thu Jul 31 00:10:20 2008 Yusuke Endoh <mame@t...> + + * proc.c (rb_proc_call_with_block): prevent null reference. + Wed Jul 30 22:19:13 2008 Yusuke Endoh <mame@t...> * parse.y (vtable_free): remove meaningless null check. Index: proc.c =================================================================== --- proc.c (revision 18270) +++ proc.c (revision 18271) @@ -536,7 +536,7 @@ } return vm_invoke_proc(GET_THREAD(), proc, proc->block.self, - argc, argv, &pass_proc->block); + argc, argv, (pass_proc ? &pass_proc->block : 0)); } /* -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/