github / github/codeql

LGTM.com - false positive

Đang mở
#5,910 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
acknowledged false-positive not security Python
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

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).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.