Skip to content

Commit 2c93403

Browse files
committed
update test cases expected results
1 parent 5e0a78c commit 2c93403

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

javascript/ql/test/experimental/Security/CWE-099/EnvValueAndKeyInjection/EnvValueAndKeyInjection.expected

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ nodes
1616
| test.js:7:25:7:32 | EnvValue |
1717
| test.js:8:24:8:31 | EnvValue |
1818
| test.js:8:24:8:31 | EnvValue |
19+
| test.js:14:9:14:28 | { EnvValue, EnvKey } |
20+
| test.js:14:9:14:39 | EnvKey |
21+
| test.js:14:9:14:39 | EnvValue |
22+
| test.js:14:11:14:18 | EnvValue |
23+
| test.js:14:21:14:26 | EnvKey |
24+
| test.js:14:32:14:39 | req.body |
25+
| test.js:14:32:14:39 | req.body |
26+
| test.js:16:15:16:20 | EnvKey |
27+
| test.js:16:15:16:20 | EnvKey |
28+
| test.js:17:26:17:33 | EnvValue |
29+
| test.js:17:26:17:33 | EnvValue |
1930
edges
2031
| test.js:5:9:5:28 | { EnvValue, EnvKey } | test.js:5:11:5:18 | EnvValue |
2132
| test.js:5:9:5:28 | { EnvValue, EnvKey } | test.js:5:21:5:26 | EnvKey |
@@ -33,7 +44,16 @@ edges
3344
| test.js:5:21:5:26 | EnvKey | test.js:5:9:5:39 | EnvKey |
3445
| test.js:5:32:5:39 | req.body | test.js:5:9:5:28 | { EnvValue, EnvKey } |
3546
| test.js:5:32:5:39 | req.body | test.js:5:9:5:28 | { EnvValue, EnvKey } |
47+
| test.js:14:9:14:28 | { EnvValue, EnvKey } | test.js:14:11:14:18 | EnvValue |
48+
| test.js:14:9:14:28 | { EnvValue, EnvKey } | test.js:14:21:14:26 | EnvKey |
49+
| test.js:14:9:14:39 | EnvKey | test.js:16:15:16:20 | EnvKey |
50+
| test.js:14:9:14:39 | EnvKey | test.js:16:15:16:20 | EnvKey |
51+
| test.js:14:9:14:39 | EnvValue | test.js:17:26:17:33 | EnvValue |
52+
| test.js:14:9:14:39 | EnvValue | test.js:17:26:17:33 | EnvValue |
53+
| test.js:14:11:14:18 | EnvValue | test.js:14:9:14:39 | EnvValue |
54+
| test.js:14:21:14:26 | EnvKey | test.js:14:9:14:39 | EnvKey |
55+
| test.js:14:32:14:39 | req.body | test.js:14:9:14:28 | { EnvValue, EnvKey } |
56+
| test.js:14:32:14:39 | req.body | test.js:14:9:14:28 | { EnvValue, EnvKey } |
3657
#select
37-
| test.js:6:25:6:32 | EnvValue | test.js:5:32:5:39 | req.body | test.js:6:25:6:32 | EnvValue | arbitrary environment variable assignment from this $@. | test.js:5:32:5:39 | req.body | user controllable source |
38-
| test.js:7:25:7:32 | EnvValue | test.js:5:32:5:39 | req.body | test.js:7:25:7:32 | EnvValue | arbitrary environment variable assignment from this $@. | test.js:5:32:5:39 | req.body | user controllable source |
39-
| test.js:8:24:8:31 | EnvValue | test.js:5:32:5:39 | req.body | test.js:8:24:8:31 | EnvValue | arbitrary environment variable assignment from this $@. | test.js:5:32:5:39 | req.body | user controllable source |
58+
| test.js:6:15:6:20 | EnvKey | test.js:5:32:5:39 | req.body | test.js:6:15:6:20 | EnvKey | arbitrary environment variable assignment from this $@. | test.js:5:32:5:39 | req.body | user controllable source |
59+
| test.js:7:15:7:20 | EnvKey | test.js:5:32:5:39 | req.body | test.js:7:15:7:20 | EnvKey | arbitrary environment variable assignment from this $@. | test.js:5:32:5:39 | req.body | user controllable source |

0 commit comments

Comments
 (0)