Skip to content

Commit 76f2eca

Browse files
authored
Merge pull request #8560 from erik-krogh/movePolyTest
PY: move the polynomialbacktracking-test to the test folder
2 parents e5eef51 + 36db492 commit 76f2eca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
| test.py:8:12:8:23 | Str | test.py:8:21:8:23 | \\s+ | Strings with many repetitions of ' ' can start matching anywhere after the start of the preceeding \\s+$ |
2+
| test.py:9:14:9:29 | Str | test.py:9:27:9:29 | \\d+ | Strings with many repetitions of '99' can start matching anywhere after the start of the preceeding \\d+ |

python/ql/src/Security/CWE-730/PolynomialBackTracking.ql renamed to python/ql/test/query-tests/Security/CWE-730-PolynomialReDoS/PolynomialBackTracking.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ import python
22
import semmle.python.security.performance.SuperlinearBackTracking
33

44
from PolynomialBackTrackingTerm t
5-
where t.getLocation().getFile().getBaseName() = "KnownCVEs.py"
65
select t.getRegex(), t, t.getReason()

0 commit comments

Comments
 (0)