Skip to content

Commit 6f26426

Browse files
committed
Python: make the import of RedosUtil public
This mirrors `SuperlinearBacktracking.qll` An alternative is to keep it private and import it again in the query files.
1 parent 77c329f commit 6f26426

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/security/performance/ExponentialBackTracking.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
* a suffix `x` (possible empty) that is most likely __not__ accepted.
6363
*/
6464

65-
private import ReDoSUtil
65+
import ReDoSUtil
6666

6767
/**
6868
* Holds if state `s` might be inside a backtracking repetition.

python/ql/src/semmle/python/security/performance/ExponentialBackTracking.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
* a suffix `x` (possible empty) that is most likely __not__ accepted.
6363
*/
6464

65-
private import ReDoSUtil
65+
import ReDoSUtil
6666

6767
/**
6868
* Holds if state `s` might be inside a backtracking repetition.

0 commit comments

Comments
 (0)