From 9826ca54f275787cc2338679353df22961ae87b5 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 10 Aug 2017 08:21:43 +0900 Subject: VM stack may be reallocated during `mrb_hash_get`; fix #3771 --- mrbgems/mruby-hash-ext/src/hash-ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrbgems/mruby-hash-ext/src/hash-ext.c b/mrbgems/mruby-hash-ext/src/hash-ext.c index 53178ffe4..00d0c4eaa 100644 --- a/mrbgems/mruby-hash-ext/src/hash-ext.c +++ b/mrbgems/mruby-hash-ext/src/hash-ext.c @@ -26,7 +26,7 @@ hash_values_at(mrb_state *mrb, mrb_value hash) mrb_int argc, i; int ai; - mrb_get_args(mrb, "*!", &argv, &argc); + mrb_get_args(mrb, "*", &argv, &argc); result = mrb_ary_new_capa(mrb, argc); ai = mrb_gc_arena_save(mrb); for (i = 0; i < argc; i++) { -- cgit v1.2.3