Skip to content

Commit 6fa0445

Browse files
committed
Swift: Fix QL-for-QL warning.
1 parent 5c47ea0 commit 6fa0445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/regex/internal/RegexTracking.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private module RegexParseModeConfig implements DataFlow::StateConfigSig {
6767
predicate isSink(DataFlow::Node node, FlowState flowstate) {
6868
// evaluation of the regex
6969
node.asExpr() = any(RegexEval eval).getRegexInput() and
70-
flowstate = any(FlowState fs)
70+
exists(flowstate)
7171
}
7272

7373
predicate isBarrier(DataFlow::Node node) { none() }

0 commit comments

Comments
 (0)