You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cpp/ql/test/query-tests/Security/CWE/CWE-1333-ReDoS/ReDoS.expected
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,5 +32,7 @@
32
32
| test.cpp:167:28:167:28 | b | This part of the regular expression may cause exponential backtracking on strings starting with 'W' and containing many repetitions of 'bW'. |
33
33
| test.cpp:176:24:176:25 | ab | This part of the regular expression may cause exponential backtracking on strings starting with 'a' and containing many repetitions of 'ab'. |
34
34
| test.cpp:229:24:229:29 | [a-z]+ | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of 'a'. |
35
-
| test.cpp:250:24:250:35 | [[:alpha:]]+ | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of 'a'. |
36
-
| test.cpp:252:24:252:35 | [[:alpha:]]+ | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '0'. |
35
+
| test.cpp:236:24:236:25 | a+ | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of 'a'. |
36
+
| test.cpp:257:24:257:35 | [[:alpha:]]+ | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of 'a'. |
37
+
| test.cpp:259:24:259:35 | [[:alpha:]]+ | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '0'. |
38
+
| test.cpp:324:24:324:29 | [a-z]+ | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of 'a'. |
| test.cpp:117:28:117:32 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:117:28:117:32 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:116:29:116:31 | \\s+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
@@ -42,8 +46,10 @@ subpaths
42
46
| test.cpp:192:28:192:32 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:192:28:192:32 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:191:29:191:31 | \\s+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
43
47
| test.cpp:279:27:279:31 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:279:27:279:31 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:278:29:278:31 | \\s+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
44
48
| test.cpp:308:28:308:32 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:308:28:308:32 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:307:29:307:31 | \\s+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
45
-
| test.cpp:342:27:342:31 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:342:27:342:31 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of '9'. | test.cpp:341:25:341:27 | \\d+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
46
-
| test.cpp:349:27:349:31 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:349:27:349:31 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of 'a'. | test.cpp:348:26:348:27 | .* | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
47
-
| test.cpp:372:28:372:28 | *s | test.cpp:369:27:369:57 | *call to getenv | test.cpp:372:28:372:28 | *s | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:371:29:371:31 | \\s+ | regular expression | test.cpp:369:27:369:57 | *call to getenv | user-provided value |
48
-
| test.cpp:383:28:383:28 | *s | test.cpp:380:20:380:22 | fread output argument | test.cpp:383:28:383:28 | *s | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:382:29:382:31 | \\s+ | regular expression | test.cpp:380:20:380:22 | fread output argument | user-provided value |
49
-
| test.cpp:421:26:421:30 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:421:26:421:30 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of 'a'. | test.cpp:420:25:420:26 | a+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
49
+
| test.cpp:323:28:323:32 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:323:28:323:32 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:322:29:322:31 | \\s+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
50
+
| test.cpp:353:27:353:31 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:353:27:353:31 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of '9'. | test.cpp:352:25:352:27 | \\d+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
51
+
| test.cpp:360:27:360:31 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:360:27:360:31 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of 'a'. | test.cpp:359:26:359:27 | .* | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
52
+
| test.cpp:383:28:383:28 | *s | test.cpp:380:27:380:57 | *call to getenv | test.cpp:383:28:383:28 | *s | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:382:29:382:31 | \\s+ | regular expression | test.cpp:380:27:380:57 | *call to getenv | user-provided value |
53
+
| test.cpp:394:28:394:28 | *s | test.cpp:391:20:391:22 | fread output argument | test.cpp:394:28:394:28 | *s | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:393:29:393:31 | \\s+ | regular expression | test.cpp:391:20:391:22 | fread output argument | user-provided value |
54
+
| test.cpp:432:26:432:30 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:432:26:432:30 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of 'a'. | test.cpp:431:25:431:26 | a+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
55
+
| test.cpp:496:28:496:32 | *input | test.cpp:107:27:107:30 | **argv | test.cpp:496:28:496:32 | *input | This $@ that depends on a $@ may run slow on strings with many repetitions of ' '. | test.cpp:495:29:495:31 | \\s+ | regular expression | test.cpp:107:27:107:30 | **argv | user-provided value |
0 commit comments