Skip to content

Commit 698b8d3

Browse files
author
Stephan Brandauer
committed
Java: Automodel extraction fix; previously, we treated endpoints that were marked as sinks, as well as summary-neutrals as 'erroneous'
1 parent aedd073 commit 698b8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Telemetry/AutomodelFrameworkModeCharacteristics.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module FrameworkCandidatesImpl implements SharedCharacteristics::CandidateSig {
6060
predicate isNeutral(Endpoint e) {
6161
exists(string package, string type, string name, string signature |
6262
sinkSpec(e, package, type, name, signature, _, _) and
63-
ExternalFlow::neutralModel(package, type, name, [signature, ""], _, _)
63+
ExternalFlow::neutralModel(package, type, name, [signature, ""], "sink", _)
6464
)
6565
}
6666

0 commit comments

Comments
 (0)