github / github/codeql

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

未关闭
#4,181 0 条评论 0 个 reaction 已指派 1 人 已被 @hvitved 认领 在 GitHub 查看
C# false-positive
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。