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

Remove rule G307 which checks when an error is not handled when a file or socket connection is closed #935

Merged
merged 4 commits into from Feb 24, 2023

Conversation

ccojocar
Copy link
Member

@ccojocar ccojocar commented Feb 24, 2023

Remove the rule G307 since doesn't bring much security value, but rather causing a lot of pain since is a really common pattern in Go.

fixes #579 #900

Cosmin Cojocar added 4 commits February 24, 2023 13:36
…e or socket connection is closed

This doesn't seem to bring much value from security perspective, and it caused a lot of controversy since
is a very common pattern in Go.
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.

G307: Readonly files also a problem?
1 participant