Skip to content

Commit b414868

Browse files
committed
turn off G703
1 parent d3371bd commit b414868

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.golangci.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ excludes = [
9898
'G304', # Audit file path provided as taint input (path traversal via user-supplied file paths)
9999
'G307', # Deferring a method which returns an error (e.g., defer f.Close() without checking the error)
100100
'G702', # net/http SetDeadline not called (HTTP server timeout not configured)
101+
'G703', # Path traversal via taint analysis
101102
'G706', # Audit use of io.ReadAll (potential denial of service from unbounded reads)
102103
]
103104

0 commit comments

Comments
 (0)