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

Fix conversion overflow false positive when value is explicitly checked #1193

Closed

Conversation

ben-krieger
Copy link
Contributor

Fixes #1187

TO DO:

  • Iterate blocks backwards to exclude checks performed after the conversion?
  • Validate comparisons ensure proper bounds?
  • Allow for equality comparisons?

@ben-krieger
Copy link
Contributor Author

Closing in favor of #1194.

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.

G115 ignores bounds checks
1 participant