diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2024-11-29 13:28:03 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2024-12-04 05:43:08 +0900 |
| commit | 6adc69c41c6edb409c5306573511cd6d8b436fbe (patch) | |
| tree | ce571395dee14b8141256bf123d3e5f46ff2d315 /test/ruby/test_variable.rb | |
| parent | 5d156007f60e7ee00b1c0d21914825972a7580ae (diff) | |
Do not depend on the evaluation order of C arguments
The evaluation order of C arguments is unspecified.
`RSTRING_LEN(str)` would fails if the conversion to a String by
`StringValuePtr` is not done yet.
Coverity Scan found this issue.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12209
Diffstat (limited to 'test/ruby/test_variable.rb')
0 files changed, 0 insertions, 0 deletions
