summaryrefslogtreecommitdiff
path: root/include/ruby/internal/encoding
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2024-07-15 08:46:16 +0900
committernagachika <nagachika@ruby-lang.org>2024-07-15 08:50:38 +0900
commit6b73406833dd22e489114fa77c1c80c4b7af2ed0 (patch)
tree5d39ac809dcc4a60a66d6dae0af25f9ac0757c10 /include/ruby/internal/encoding
parent9f1e18a138e5196c04c5231c6a799dc637f2e9af (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 'include/ruby/internal/encoding')
0 files changed, 0 insertions, 0 deletions