We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e90e313 commit d9126d3Copy full SHA for d9126d3
go/ql/lib/semmle/go/dataflow/ExternalFlow.qll
@@ -475,10 +475,8 @@ SourceSinkInterpretationInput::SourceOrSinkElement interpretElement(
475
// Go does not need to distinguish functions with signature
476
signature = "" and
477
exists(string p | p = interpretPackage(pkg) |
478
- exists(Field f | f.hasQualifiedName(p, type, name) |
479
- result.asEntity() = f and
480
- result.hasTypeInfo(p, type, subtypes)
481
- )
+ result.asEntity().(Field).hasQualifiedName(p, type, name) and
+ result.hasTypeInfo(p, type, subtypes)
482
or
483
exists(Method m | m.hasQualifiedName(p, type, name) |
484
result.asEntity() = m and
0 commit comments