mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Python: Fix compile error due to predicate rename
This commit is contained in:
@@ -61,7 +61,7 @@ module PolynomialReDoS {
|
||||
|
||||
RegexExecutionAsSink() {
|
||||
exists(RegexExecution re |
|
||||
re.getRegexNode().asExpr() = t.getRegex() and
|
||||
re.getRegex().asExpr() = t.getRegex() and
|
||||
this = re.getString()
|
||||
) and
|
||||
t.isRootTerm()
|
||||
|
||||
@@ -28,7 +28,7 @@ module RegexInjection {
|
||||
class Sink extends DataFlow::Node {
|
||||
RegexExecution regexExecution;
|
||||
|
||||
Sink() { this = regexExecution.getRegexNode() }
|
||||
Sink() { this = regexExecution.getRegex() }
|
||||
|
||||
/** Gets the call that executes the regular expression marked by this sink. */
|
||||
RegexExecution getRegexExecution() { result = regexExecution }
|
||||
|
||||
Reference in New Issue
Block a user