summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-05-28 14:21:35 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2024-05-28 14:22:45 -0700
commitb77b5c191513f5f281e72a51e6b2de29e2d2d7a6 (patch)
tree2a339a38911735351abec0bae3ca18812a99a6a3 /test/ruby
parent62f450285bbe1f8fbbaf12540d6538985234f3d8 (diff)
merge revision(s) 5e0c17145131e073814c7e5b15227d0b4e73cabe: [Backport #20169]
Make io_fwrite safe for compaction [Bug #20169] Embedded strings are not safe for system calls without the GVL because compaction can cause pages to be locked causing the operation to fail with EFAULT. This commit changes io_fwrite to use rb_str_tmp_frozen_no_embed_acquire, which guarantees that the return string is not embedded.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions