summaryrefslogtreecommitdiff
path: root/shape.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-01-06 10:24:09 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-01-06 11:36:28 -0500
commitd8ef0a98c670449b20436947f5ebbd327ed5ab0d (patch)
tree733e9553814c747aeb83e98ad4e9a904f1c9a590 /shape.h
parent2b88dbc6f905a873da1aaead7aed8dcb1fcd3767 (diff)
downloadruby-d8ef0a98c670449b20436947f5ebbd327ed5ab0d.tar.gz
[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.
Diffstat (limited to 'shape.h')
0 files changed, 0 insertions, 0 deletions