Skip to content

Avoid infinite loop in constant vs. None comparisons#9376

Merged
charliermarsh merged 1 commit intomainfrom
charlie/eq
Jan 3, 2024
Merged

Avoid infinite loop in constant vs. None comparisons#9376
charliermarsh merged 1 commit intomainfrom
charlie/eq

Conversation

@charliermarsh
Copy link
Copy Markdown
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
@charliermarsh charliermarsh deleted the charlie/eq branch January 3, 2024 03:04
@github-actions
Copy link
Copy Markdown
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