[Bug #19319] Fix crash in rb_str_casemap
The following code crashes on my machine:
GC.stress = true str = "testing testing testing" puts str.capitalize
We need to ensure that the object buffer_anchor remains on the stack so it does not get GC'd.
buffer_anchor
[Bug #19319] Fix crash in rb_str_casemap
The following code crashes on my machine:
We need to ensure that the object
buffer_anchorremains on the stackso it does not get GC'd.