github / github/codeql

Go: False positive for go/index-out-of-bounds

未關閉
#9,300 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
acknowledged false-positive Go
主要語言
CodeQL
星號
10.1k
分支
2.1k
平均合併
2 天 15 小時
30 天內合併 PR
141

描述

Observed on LGTM:

https://lgtm.com/projects/g/caddyserver/caddy/snapshot/d8e8a8ca215a4ed7b519656ecbe3c081cd1a840a/files/modules/caddyhttp/rewrite/caddyfile.go?sort=name&dir=ASC&mode=heatmap#x5ef0d8f84bad448a:1

The read operation that is referred to by the alert is guarded by a later length check.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。