| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
The resulting behavior is different from CRuby, but modifying
hash key afterwards is undefined behavior in ISO spec.
|
|
|
|
|
|
This change reduces the recursion level, but does not solve the stack
overflow issue entirely.
|
|
This issue was reported by https://hackerone.com/an0n-j
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if you see compiler errors due to this commit, you'd better to use array-modifying
functions, e.g. mrb_ary_set() or mrb_ary_push(), otherwise you might see nasty
GC bugs in the future. if you are sure what you are doing, replace `RARRAY_PTR(ary)`
by `mrb_ary_ptr(ary)->ptr`. but be warned.
|
|
|
|
|
|
|
|
|
|
|
|
Add a space aftre bracket.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|