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 5c47ea0 commit 6fa0445Copy full SHA for 6fa0445
swift/ql/lib/codeql/swift/regex/internal/RegexTracking.qll
@@ -67,7 +67,7 @@ private module RegexParseModeConfig implements DataFlow::StateConfigSig {
67
predicate isSink(DataFlow::Node node, FlowState flowstate) {
68
// evaluation of the regex
69
node.asExpr() = any(RegexEval eval).getRegexInput() and
70
- flowstate = any(FlowState fs)
+ exists(flowstate)
71
}
72
73
predicate isBarrier(DataFlow::Node node) { none() }
0 commit comments