Actions
Bug #15941
closedIssue with String#scrub when given block and receiver is modified in block
Description
This should cause a segmentation fault:
s = "abc\u3042\xE3\x80"
loop do
s.scrub{|bytes| s << "more content"; "?" }
end
Not something that should happen, but I thought it might cause undesired behavior.
Thank you for your time :)
Files
Actions
Like0
Like0Like0Like0Like0