github / github/codeql

Python: False positive for blank space characters

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

描述

https://github.com/github/codeql/blob/main/python/ql/src/Functions/ConsistentReturns.ql

return "" is being interpreted as a implicit return, but it is actually an explicit return (blankspace).

贡献指南

打开贡献指南

调研方向

Start by reading python/ql/src/Functions/ConsistentReturns.ql and trace how return "" is classified. Confirm the query distinguishes this explicit return from an implicit return, then verify the existing query behavior with the repository's relevant tests if available.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
security
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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