Skip to content

Commit 8e6a362

Browse files
committed
import the non-deprecated NfaUtils in the overly-large-range query
1 parent 7a47551 commit 8e6a362

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

java/ql/lib/semmle/code/java/security/OverlyLargeRangeQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// We don't need the NFA utils, just the regexp tree.
66
// but the below is a nice shared library that exposes the API we need.
7-
import performance.ReDoSUtil
7+
import regexp.NfaUtils
88

99
/**
1010
* Gets a rank for `range` that is unique for ranges in the same file.

javascript/ql/lib/semmle/javascript/security/OverlyLargeRangeQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// We don't need the NFA utils, just the regexp tree.
66
// but the below is a nice shared library that exposes the API we need.
7-
import performance.ReDoSUtil
7+
import regexp.NfaUtils
88

99
/**
1010
* Gets a rank for `range` that is unique for ranges in the same file.

python/ql/lib/semmle/python/security/OverlyLargeRangeQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// We don't need the NFA utils, just the regexp tree.
66
// but the below is a nice shared library that exposes the API we need.
7-
import performance.ReDoSUtil
7+
import regexp.NfaUtils
88

99
/**
1010
* Gets a rank for `range` that is unique for ranges in the same file.

ruby/ql/lib/codeql/ruby/security/OverlyLargeRangeQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// We don't need the NFA utils, just the regexp tree.
66
// but the below is a nice shared library that exposes the API we need.
7-
import performance.ReDoSUtil
7+
import regexp.NfaUtils
88

99
/**
1010
* Gets a rank for `range` that is unique for ranges in the same file.

0 commit comments

Comments
 (0)