summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-07 11:59:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-07 11:59:16 +0000
commit52ebc24487f3d1553c436c3ab9fbf8784379961d (patch)
tree4936719f503dc48619c5ae4d2d0132028c89cf1e /vm.c
parentddc4143af021817d7b37ee6979c2af3e07f7871f (diff)
* vm_insnhelper.c (vm_push_frame): get rid of out-of-bounds
access. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 91a5c6d5ab..2ff61aa645 100644
--- a/vm.c
+++ b/vm.c
@@ -92,7 +92,7 @@ vm_set_top_stack(rb_thread_t * th, VALUE iseqval)
th->top_self, 0, iseq->iseq_encoded,
th->cfp->sp, 0, iseq->local_size);
- CHECK_STACK_OVERFLOW(th->cfp, iseq->stack_max);
+ CHECK_STACK_OVERFLOW(th->cfp, iseq->stack_max);
}
static void