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 摘要。