Commit a9b84ad
string.c: guard tmp in rb_str_format_m (rubyGH-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 <XrXr@users.noreply.github.com>1 parent aec8563 commit a9b84ad
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2640 | 2640 | | |
2641 | 2641 | | |
2642 | 2642 | | |
2643 | | - | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
2644 | 2646 | | |
2645 | 2647 | | |
2646 | 2648 | | |
| |||
0 commit comments