Java: `ReflectiveMethodAccess::inferAccessedMethod()` ignores parameters
オープン
question
- 主要言語
- CodeQL
- スター
- 10.1k
- フォーク
- 2.1k
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 141
説明
The Java predicate `ReflectiveMethodAccess::inferAccessedMethod()` only checks the name of the method but ignores the parameters:
https://github.com/github/codeql/blob/04a7ff7f762cd11d9cba0ab864cc6bb909a830c8/java/ql/lib/semmle/code/java/Reflection.qll#L363-L366
This leads to incorrect results when a class declares multiple methods with the same name but different signature.
コントリビューションガイド
評価
この issue はまだ評価されていません。