summaryrefslogtreecommitdiffhomepage
path: root/src/array.c
diff options
context:
space:
mode:
authordearblue <[email protected]>2021-11-19 22:35:47 +0900
committerdearblue <[email protected]>2021-11-19 22:35:47 +0900
commit279e0122da06c36f811dbd4380c20dd9ba157370 (patch)
tree412fc5b057a1ab29980fe247e0de08f6b3ad16fb /src/array.c
parent1a1ff6b3ff410ce46c4978cb2ff58dc36868b916 (diff)
downloadmruby-279e0122da06c36f811dbd4380c20dd9ba157370.tar.gz
mruby-279e0122da06c36f811dbd4380c20dd9ba157370.zip
Fixes keywords are lost with the `OP_SENDB`
If a splat argument was passed, it could write out of range on the VM stack. ```console % bin/mruby -e 'def m(*args, **opts, &blk) p [args, opts, blk] end; m(*%w(X Y Z), r: 1, g: 2, b: 3) {}' [["X", "Y", "Z"], {}, #<Proc:0x80077d7d0>] ```
Diffstat (limited to 'src/array.c')
0 files changed, 0 insertions, 0 deletions