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

Avoid infinite loop in constant vs. None comparisons #9376

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

We had an early continue in this loop, and we weren't setting comparator = next; when continuing... This PR removes the early continue altogether for clarity.

Closes #9374.

Test Plan

cargo test

@charliermarsh charliermarsh added bug Something isn't working fuzzer Surfaced via fuzzing. labels Jan 3, 2024
@charliermarsh charliermarsh marked this pull request as ready for review January 3, 2024 02:52
@charliermarsh charliermarsh merged commit fd36754 into main Jan 3, 2024
17 checks passed
@charliermarsh charliermarsh deleted the charlie/eq branch January 3, 2024 03:04
Copy link
Contributor

github-actions bot commented Jan 3, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fuzzer Surfaced via fuzzing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite loop in F632/E711
1 participant