-
Notifications
You must be signed in to change notification settings - Fork 250
Commit 093f506
Add test for vulnerabilities in recursive functions
recur_but_no_propagation is actually safe, but it would be difficult to
reliably determine this, so we'll have to do with the false positive at
least for now (as recursive functions can call other recursive
functions).1 parent b2daf8b commit 093f506
File tree
3 files changed
+39
-2
lines changed- examples/vulnerable_code
- tests
- vulnerabilities
3 files changed
+39
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
111 | - | ||
111 | + | ||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
118 | - | ||
118 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
465 | 465 |
| |
466 | 466 |
| |
467 | 467 |
| |
468 | + | ||
469 | + | ||
470 | + | ||
471 | + | ||
472 | + | ||
468 | 473 |
| |
469 | 474 |
| |
470 | 475 |
| |
|
0 commit comments