github / github/codeql

LGTM.com - false positive

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

描述

LGTM reports as unreachable a line following a `finally` clause attached to a `try` block containing a seemingly-infinite loop which is exited via a side-effect of a signal handler.

I'll grant that there are a number of ways that execution could fail to reach the flagged statement, but there is at least one way which I think it can.

See [non-infinite loop](https://lgtm.com/projects/g/distributed-system-analysis/pbench/snapshot/22b4f0672b3c0e3fa88b7bbcfdaa0c48184b16eb/files/agent/tool-scripts/datalog/pprof-datalog?sort=name&dir=ASC&mode=heatmap#xe002acb1fe76b468:1).

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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