Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not depend on the evaluation order of C arguments #698

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

mame
Copy link
Member

@mame mame commented Nov 29, 2024

The evaluation order of C arguments is unspecified. RSTRING_LEN(value) would fail if the conversion to a String by StringValuePtr(value) is not done yet.

Coverity Scan found this issue.

The evaluation order of C arguments is unspecified.
`RSTRING_LEN(value)` would fail if the conversion to a String by
`StringValuePtr(value)` is not done yet.

Coverity Scan found this issue.
@hsbt hsbt merged commit 0eb96cb into ruby:master Dec 4, 2024
67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants