LGTM.com - false positive
Open
acknowledged
false-positive
not security
Python
- Dominant language
- CodeQL
- Stars
- 10.1k
- Forks
- 2.1k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 141
Description
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).
Contributor guide
Assessment
This issue has not been assessed yet.