Skip to content

Commit 652b6bb

Browse files
author
Max Schaefer
committed
Fix bugs revealed by omittable exists variables.
1 parent 48105db commit 652b6bb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

java/ql/automodel/src/AutomodelApplicationModeCharacteristics.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ module ApplicationCandidatesImpl implements SharedCharacteristics::CandidateSig
256256
string input
257257
|
258258
sinkSpec(e, package, type, subtypes, name, signature, ext, input) and
259-
ExternalFlow::sinkModel(package, type, _, name, [signature, ""], ext, input, kind, provenance)
259+
ExternalFlow::sinkModel(package, type, subtypes, name, [signature, ""], ext, input, kind,
260+
provenance)
260261
)
261262
or
262263
isCustomSink(e, kind) and provenance = "custom-sink"

java/ql/automodel/src/AutomodelFrameworkModeCharacteristics.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ module FrameworkCandidatesImpl implements SharedCharacteristics::CandidateSig {
214214
string input
215215
|
216216
sinkSpec(e, package, type, subtypes, name, signature, ext, input) and
217-
ExternalFlow::sinkModel(package, type, _, name, [signature, ""], ext, input, kind, provenance)
217+
ExternalFlow::sinkModel(package, type, subtypes, name, [signature, ""], ext, input, kind,
218+
provenance)
218219
)
219220
}
220221

0 commit comments

Comments
 (0)