summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-25 07:42:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-25 07:42:38 +0000
commit62dfc45bb28ae99927ad2ae91f5d6293ff13d5c6 (patch)
treef3e79c33c1be1997b9a9fd6efcb729a46dcb708e /iseq.c
parent9e3a3be87011e4337d9d6a8adb1f4f7ec8b9694f (diff)
suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 926a07da15..059038342f 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1319,7 +1319,7 @@ iseq_data_to_ary(rb_iseq_t *iseq)
}
rb_ary_push(body, ary);
- pos += RARRAY_LEN(ary);
+ pos += RARRAY_LENINT(ary); /* reject too huge data */
}
st_free_table(labels_table);