github / github/codeql

LGTM.com - false positive

Ouverte
#5,910 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
acknowledged false-positive not security Python
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
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).

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.