summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorKeita Obo <[email protected]>2014-03-21 21:41:04 +0900
committerKeita Obo <[email protected]>2014-03-21 21:41:04 +0900
commit3faa76851d99f9547b7038da03317acf64e35d72 (patch)
tree11db2c90240e5b87fe55c759d3746f9b1a8d59b1 /src/string.c
parent07bd65ae65ba1092191f5a702ce3c15aaca2ab5f (diff)
downloadmruby-3faa76851d99f9547b7038da03317acf64e35d72.tar.gz
mruby-3faa76851d99f9547b7038da03317acf64e35d72.zip
Prevent accepting String value for mrb_get_args("i")
Accepting String value for mrb_get_args("i") causes unintentional expression. * `"str" * "3"` => `"strstrstr"` This change prevents String->Integer conversion for mrb_get_args("i") and fixes above problem. See also: https://github.com/mruby/mruby/issues/1903
Diffstat (limited to 'src/string.c')
0 files changed, 0 insertions, 0 deletions