Skip to content

Conversation

@hsbt
Copy link
Member

@hsbt hsbt commented Dec 10, 2024

Pick ruby/ruby@6adc69c

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.

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.
@hsbt hsbt merged commit cd69df8 into master Dec 10, 2024
102 checks passed
@hsbt hsbt deleted the port-from-ruby-head branch December 10, 2024 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants