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
A false positive of "Slice memory allocation with excessive size value" in Go (Rule ID: go/uncontrolled-allocation-size).
It's a false positive, because the length of the allocated slice is explicitly limited via the min function, so it should not be reported. Link to source code:
Thank you for this false positive report. Resolving this issue is not a current product priority, but we acknowledge the report and will track it internally for future consideration, or if we observe repeated instances of the same problem.
A false positive of "Slice memory allocation with excessive size value" in Go (Rule ID: go/uncontrolled-allocation-size).
It's a false positive, because the length of the allocated slice is explicitly limited via the
min
function, so it should not be reported. Link to source code:https://github.com/fzipp/canvas/blob/9bf9f5531d570cf664d7c0f931b02dd3749f4fce/event.go#L402
URL to the alert on GitHub code scanning:
https://github.com/fzipp/canvas/security/code-scanning/2
The text was updated successfully, but these errors were encountered: