From eba16d7444e3dc4dc917ac2a3b1340bc193df1c4 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 Aug 2010 21:03:32 +0000 Subject: [PATCH] * vm_insnhelper.c (vm_push_frame): initialize block_iseq. a patch from Peter Weldon at [ruby-core:31757]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ vm_insnhelper.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index d4d6af1da2..faeccaef17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Aug 19 06:03:27 2010 Nobuyoshi Nakada + + * vm_insnhelper.c (vm_push_frame): initialize block_iseq. a patch + from Peter Weldon at [ruby-core:31757]. + Wed Aug 18 19:08:17 2010 Kenta Murata * array.c (ary_make_shared): revert r29037, it occurs SEGV some diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 2e01703f7c..985a2fb5a8 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -58,6 +58,7 @@ vm_push_frame(rb_thread_t * th, const rb_iseq_t * iseq, cfp->self = self; cfp->lfp = lfp; cfp->dfp = sp; + cfp->block_iseq = 0; cfp->proc = 0; cfp->me = 0;