File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
python/ql/lib/semmle/python/security Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ module PolynomialReDoS {
6161
6262 RegexExecutionAsSink ( ) {
6363 exists ( RegexExecution re |
64- re .getRegexNode ( ) .asExpr ( ) = t .getRegex ( ) and
64+ re .getRegex ( ) .asExpr ( ) = t .getRegex ( ) and
6565 this = re .getString ( )
6666 ) and
6767 t .isRootTerm ( )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ module RegexInjection {
2828 class Sink extends DataFlow:: Node {
2929 RegexExecution regexExecution ;
3030
31- Sink ( ) { this = regexExecution .getRegexNode ( ) }
31+ Sink ( ) { this = regexExecution .getRegex ( ) }
3232
3333 /** Gets the call that executes the regular expression marked by this sink. */
3434 RegexExecution getRegexExecution ( ) { result = regexExecution }
You can’t perform that action at this time.
0 commit comments