Skip to content

Commit b6a31b1

Browse files
committed
Restrict to Methods
1 parent 57192e8 commit b6a31b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/ql/lib/semmle/go/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ module SourceSinkInterpretationInput implements
243243
(
244244
not callTarget instanceof Method
245245
or
246+
callTarget instanceof Method and
246247
elementAppliesToQualifier(result, cn.getReceiver())
247248
)
248249
)

0 commit comments

Comments
 (0)