mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Merge pull request #6300 from RasmusWL/redos-tests
Python: Fix `py/polynomial-redos`
This commit is contained in:
@@ -56,7 +56,7 @@ module PolynomialReDoS {
|
||||
/**
|
||||
* A regex execution, considered as a flow sink.
|
||||
*/
|
||||
class RegexExecutionAsSink extends DataFlow::Node {
|
||||
class RegexExecutionAsSink extends Sink {
|
||||
RegExpTerm t;
|
||||
|
||||
RegexExecutionAsSink() {
|
||||
@@ -68,7 +68,7 @@ module PolynomialReDoS {
|
||||
}
|
||||
|
||||
/** Gets the regex that is being executed by this node. */
|
||||
RegExpTerm getRegExp() { result = t }
|
||||
override RegExpTerm getRegExp() { result = t }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user