summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-hash-ext
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-08-10 08:21:43 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-08-10 08:21:43 +0900
commit9826ca54f275787cc2338679353df22961ae87b5 (patch)
tree07821ca06231dc4892398b49c099945f031adfe0 /mrbgems/mruby-hash-ext
parent9e0c48ddc63a959ecd83493773a6466bab7cac93 (diff)
downloadmruby-9826ca54f275787cc2338679353df22961ae87b5.tar.gz
mruby-9826ca54f275787cc2338679353df22961ae87b5.zip
VM stack may be reallocated during `mrb_hash_get`; fix #3771
Diffstat (limited to 'mrbgems/mruby-hash-ext')
-rw-r--r--mrbgems/mruby-hash-ext/src/hash-ext.c2
1 files changed, 1 insertions, 1 deletions
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++) {