github / github/codeql

LGTM.com - false positive with null checks in C#

Đang mở
#4,181 0 bình luận 0 reaction 1 người được giao Được @hvitved nhận Xem trên GitHub
C# false-positive
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ả

A null check and throw in C# before a sensitive method is detected as an error. This should not result in an error, as removing it would then make an NRE happen when we deref, which is much worse for debugging

https://lgtm.com/projects/g/microsoft/msquic/snapshot/9a3f71038c6dc2b1c80a6b59e9f43bcd92ea4254/files/src/perf/dbserver/Controllers/PerformanceController.cs?sort=name&dir=ASC&mode=heatmap#xfd2d1b7771fa1935: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.