6cd7b1a1e9 (ruby_3_3): string.c: guard tmp in rb_str_format_m (GH-16280)

0 views
Skip to first unread message

ZHIJIE XIE

unread,
1:44 AM (6 hours ago) 1:44 AM
to ruby...@g.ruby-lang.org
ZHIJIE XIE 2026-03-02 17:40:57 +0000 (Mon, 02 Mar 2026)

New Revision: 6cd7b1a1e9

https://github.com/ruby/ruby/commit/6cd7b1a1e9

Log:
string.c: guard tmp in rb_str_format_m (GH-16280)

[Bug #21931]

Keep tmp alive while RARRAY_CONST_PTR(tmp) is used by rb_str_format.

[alan: sunk the guard below usage]
Reviewed-by: Alan Wu <Xr...@users.noreply.github.com>

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