You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .golangci.yaml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,9 @@ linters:
138
138
- G112
139
139
# if we put a password or token into a serialized payload, guess what, we probably did that on purpose
140
140
- G117
141
+
# this triggers on net/http.Request.ParseForm() and its callers, e.g. net/http.Request.FormValue(), complaining about potential memory exhaustion from unbounded form parsing;
142
+
# but that is incorrect, ParseForm() by default never parses more than 10 MiB for this specific reason
143
+
- G120
141
144
# created file permissions are restricted by umask if necessary
142
145
- G306
143
146
# the following lints cause false-positives in many repositories, should be fixed with the next release. (see https://github.com/securego/gosec/issues/1500)
0 commit comments