9519d16381 (master): IO::Buffer: Guard arguments from GC

0 views
Skip to first unread message

Nobuyoshi Nakada

unread,
Dec 16, 2025, 10:36:08 PM (4 hours ago) Dec 16
to ruby...@g.ruby-lang.org
Nobuyoshi Nakada 2025-11-22 14:41:23 +0000 (Sat, 22 Nov 2025)

New Revision: 9519d16381

https://github.com/ruby/ruby/commit/9519d16381

Log:
IO::Buffer: Guard arguments from GC

At least, `string` in `io_buffer_set_string` can be different from
`argv[0]` after `rb_str_to_str` call. The other cases may not be
necessary.

Modified files:
io_buffer.c
Reply all
Reply to author
Forward
0 new messages