mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Java: Fix for multiple parse mode flags.
This commit is contained in:
@@ -87,7 +87,7 @@ class ExpRedosTest {
|
||||
"(?s)(.|\\n)*!", // $ hasExpRedos
|
||||
|
||||
// NOT GOOD; attack: "\n".repeat(100) + "."
|
||||
"(?is)(.|\\n)*!", // $ MISSING: hasExpRedos
|
||||
"(?is)(.|\\n)*!", // $ hasExpRedos
|
||||
|
||||
// GOOD
|
||||
"([\\w.]+)*",
|
||||
|
||||
Reference in New Issue
Block a user