1
0
mirror of https://github.com/securego/gosec.git synced 2025-01-22 03:09:59 +02:00
Cosmin Cojocar d5a9c73723
Remove rule G307 which checks when an error is not handled when a file or socket connection is closed (#935)
* Remove read only types from unsafe defer rules

* Remove rule G307 which checks when an error is not handled when a file 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.

* Mentioned in documentation that rule G307 is retired

* Clean up the test for rule G307
2023-02-24 14:04:13 +01:00
..
2023-02-16 09:45:28 +01:00
2023-02-16 09:45:28 +01:00
2023-02-16 09:45:28 +01:00
2023-02-16 09:45:28 +01:00
2023-02-16 09:45:28 +01:00
2022-01-03 18:11:35 +01:00
2023-02-16 09:45:28 +01:00
2023-02-16 09:45:28 +01:00
2023-02-16 09:45:28 +01:00
2023-02-16 09:45:28 +01:00
2023-02-16 09:45:28 +01:00