Skip to content

Commit c2d2037

Browse files
committed
Python: Add change note and set precision
1 parent 1c7982b commit c2d2037

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
lgtm,codescanning
2+
* The externally contributed query `py/regex-injection` has been promoted out of the experimental area. Results from this query are now available by default.

python/ql/src/Security/CWE-730/RegexInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
* exponential time on certain inputs.
66
* @kind path-problem
77
* @problem.severity error
8+
* @precision high
89
* @id py/regex-injection
910
* @tags security
1011
* external/cwe/cwe-730
1112
* external/cwe/cwe-400
1213
*/
1314

14-
// determine precision above
1515
import python
1616
private import semmle.python.Concepts
1717
import semmle.python.security.injection.RegexInjection

0 commit comments

Comments
 (0)