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
Is there a particular reason why an error G304 is thrown with os.Open() but not with os.OpenFile()?
Since os.Open() is only a wrapper for os.OpenFile(), this seems strange to me.
gosec version
current master
Expected behavior
G304 is created for os.Open() and os.OpenFile()
Actual behavior
G304 only thrown for os.Open(someString)
The text was updated successfully, but these errors were encountered:
Summary
Is there a particular reason why an error G304 is thrown with os.Open() but not with os.OpenFile()?
Since os.Open() is only a wrapper for os.OpenFile(), this seems strange to me.
gosec version
current master
Expected behavior
G304 is created for os.Open() and os.OpenFile()
Actual behavior
G304 only thrown for os.Open(someString)
The text was updated successfully, but these errors were encountered: