Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79db76d

Browse files
committed
Fix test failures TempDirLocalInformationDisclosureFromSystemProperty
1 parent d5c9af3 commit 79db76d

1 file changed

Lines changed: 72 additions & 7 deletions

File tree

java/ql/test/query-tests/security/CWE-200/semmle/tests/TempDirLocalInformationDisclosureFromSystemProperty.expected

Lines changed: 72 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,111 @@
11
edges
2+
| Files.java:10:24:10:69 | new File(...) : File | Files.java:14:37:14:43 | baseDir : File |
3+
| Files.java:10:24:10:69 | new File(...) : File | Files.java:15:17:15:23 | tempDir |
4+
| Files.java:10:33:10:68 | getProperty(...) : String | Files.java:10:24:10:69 | new File(...) : File |
5+
| Files.java:10:33:10:68 | getProperty(...) : String | Files.java:14:37:14:43 | baseDir : File |
26
| Files.java:10:33:10:68 | getProperty(...) : String | Files.java:15:17:15:23 | tempDir |
7+
| Files.java:14:28:14:64 | new File(...) : File | Files.java:15:17:15:23 | tempDir |
8+
| Files.java:14:37:14:43 | baseDir : File | Files.java:14:28:14:64 | new File(...) : File |
9+
| Test.java:23:24:23:69 | new File(...) : File | Test.java:24:59:24:65 | tempDir |
10+
| Test.java:23:33:23:68 | getProperty(...) : String | Test.java:23:24:23:69 | new File(...) : File |
311
| Test.java:23:33:23:68 | getProperty(...) : String | Test.java:24:59:24:65 | tempDir |
12+
| Test.java:28:29:28:94 | new File(...) : File | Test.java:29:59:29:70 | tempDirChild |
13+
| Test.java:28:38:28:83 | new File(...) : File | Test.java:28:29:28:94 | new File(...) : File |
14+
| Test.java:28:38:28:83 | new File(...) : File | Test.java:29:59:29:70 | tempDirChild |
15+
| Test.java:28:47:28:82 | getProperty(...) : String | Test.java:28:38:28:83 | new File(...) : File |
416
| Test.java:28:47:28:82 | getProperty(...) : String | Test.java:29:59:29:70 | tempDirChild |
17+
| Test.java:33:24:33:69 | new File(...) : File | Test.java:34:59:34:65 | tempDir |
18+
| Test.java:33:33:33:68 | getProperty(...) : String | Test.java:33:24:33:69 | new File(...) : File |
519
| Test.java:33:33:33:68 | getProperty(...) : String | Test.java:34:59:34:65 | tempDir |
20+
| Test.java:38:24:38:69 | new File(...) : File | Test.java:39:59:39:65 | tempDir |
21+
| Test.java:38:33:38:68 | getProperty(...) : String | Test.java:38:24:38:69 | new File(...) : File |
622
| Test.java:38:33:38:68 | getProperty(...) : String | Test.java:39:59:39:65 | tempDir |
23+
| Test.java:53:29:53:84 | new File(...) : File | Test.java:54:9:54:20 | tempDirChild |
24+
| Test.java:53:38:53:73 | getProperty(...) : String | Test.java:53:29:53:84 | new File(...) : File |
725
| Test.java:53:38:53:73 | getProperty(...) : String | Test.java:54:9:54:20 | tempDirChild |
26+
| Test.java:58:29:58:84 | new File(...) : File | Test.java:59:9:59:20 | tempDirChild |
27+
| Test.java:58:38:58:73 | getProperty(...) : String | Test.java:58:29:58:84 | new File(...) : File |
828
| Test.java:58:38:58:73 | getProperty(...) : String | Test.java:59:9:59:20 | tempDirChild |
9-
| Test.java:63:38:63:73 | getProperty(...) : String | Test.java:64:21:64:41 | toPath(...) |
10-
| Test.java:68:38:68:73 | getProperty(...) : String | Test.java:71:21:71:41 | toPath(...) |
11-
| Test.java:75:38:75:73 | getProperty(...) : String | Test.java:76:33:76:53 | toPath(...) |
12-
| Test.java:80:38:80:73 | getProperty(...) : String | Test.java:81:31:81:51 | toPath(...) |
13-
| Test.java:85:38:85:73 | getProperty(...) : String | Test.java:86:26:86:46 | toPath(...) |
14-
| Test.java:99:38:99:73 | getProperty(...) : String | Test.java:100:31:100:51 | toPath(...) |
15-
| Test.java:104:38:104:73 | getProperty(...) : String | Test.java:105:33:105:53 | toPath(...) |
29+
| Test.java:63:29:63:88 | new File(...) : File | Test.java:64:21:64:32 | tempDirChild : File |
30+
| Test.java:63:38:63:73 | getProperty(...) : String | Test.java:63:29:63:88 | new File(...) : File |
31+
| Test.java:63:38:63:73 | getProperty(...) : String | Test.java:64:21:64:32 | tempDirChild : File |
32+
| Test.java:64:21:64:32 | tempDirChild : File | Test.java:64:21:64:41 | toPath(...) |
33+
| Test.java:68:29:68:88 | new File(...) : File | Test.java:71:21:71:32 | tempDirChild : File |
34+
| Test.java:68:38:68:73 | getProperty(...) : String | Test.java:68:29:68:88 | new File(...) : File |
35+
| Test.java:68:38:68:73 | getProperty(...) : String | Test.java:71:21:71:32 | tempDirChild : File |
36+
| Test.java:71:21:71:32 | tempDirChild : File | Test.java:71:21:71:41 | toPath(...) |
37+
| Test.java:75:29:75:104 | new File(...) : File | Test.java:76:33:76:44 | tempDirChild : File |
38+
| Test.java:75:38:75:73 | getProperty(...) : String | Test.java:75:29:75:104 | new File(...) : File |
39+
| Test.java:75:38:75:73 | getProperty(...) : String | Test.java:76:33:76:44 | tempDirChild : File |
40+
| Test.java:76:33:76:44 | tempDirChild : File | Test.java:76:33:76:53 | toPath(...) |
41+
| Test.java:80:29:80:102 | new File(...) : File | Test.java:81:31:81:42 | tempDirChild : File |
42+
| Test.java:80:38:80:73 | getProperty(...) : String | Test.java:80:29:80:102 | new File(...) : File |
43+
| Test.java:80:38:80:73 | getProperty(...) : String | Test.java:81:31:81:42 | tempDirChild : File |
44+
| Test.java:81:31:81:42 | tempDirChild : File | Test.java:81:31:81:51 | toPath(...) |
45+
| Test.java:85:29:85:100 | new File(...) : File | Test.java:86:26:86:37 | tempDirChild : File |
46+
| Test.java:85:38:85:73 | getProperty(...) : String | Test.java:85:29:85:100 | new File(...) : File |
47+
| Test.java:85:38:85:73 | getProperty(...) : String | Test.java:86:26:86:37 | tempDirChild : File |
48+
| Test.java:86:26:86:37 | tempDirChild : File | Test.java:86:26:86:46 | toPath(...) |
49+
| Test.java:99:29:99:101 | new File(...) : File | Test.java:100:31:100:42 | tempDirChild : File |
50+
| Test.java:99:38:99:73 | getProperty(...) : String | Test.java:99:29:99:101 | new File(...) : File |
51+
| Test.java:99:38:99:73 | getProperty(...) : String | Test.java:100:31:100:42 | tempDirChild : File |
52+
| Test.java:100:31:100:42 | tempDirChild : File | Test.java:100:31:100:51 | toPath(...) |
53+
| Test.java:104:29:104:109 | new File(...) : File | Test.java:105:33:105:44 | tempDirChild : File |
54+
| Test.java:104:38:104:73 | getProperty(...) : String | Test.java:104:29:104:109 | new File(...) : File |
55+
| Test.java:104:38:104:73 | getProperty(...) : String | Test.java:105:33:105:44 | tempDirChild : File |
56+
| Test.java:105:33:105:44 | tempDirChild : File | Test.java:105:33:105:53 | toPath(...) |
1657
nodes
58+
| Files.java:10:24:10:69 | new File(...) : File | semmle.label | new File(...) : File |
1759
| Files.java:10:33:10:68 | getProperty(...) : String | semmle.label | getProperty(...) : String |
60+
| Files.java:14:28:14:64 | new File(...) : File | semmle.label | new File(...) : File |
61+
| Files.java:14:37:14:43 | baseDir : File | semmle.label | baseDir : File |
1862
| Files.java:15:17:15:23 | tempDir | semmle.label | tempDir |
63+
| Test.java:23:24:23:69 | new File(...) : File | semmle.label | new File(...) : File |
1964
| Test.java:23:33:23:68 | getProperty(...) : String | semmle.label | getProperty(...) : String |
2065
| Test.java:24:59:24:65 | tempDir | semmle.label | tempDir |
66+
| Test.java:28:29:28:94 | new File(...) : File | semmle.label | new File(...) : File |
67+
| Test.java:28:38:28:83 | new File(...) : File | semmle.label | new File(...) : File |
2168
| Test.java:28:47:28:82 | getProperty(...) : String | semmle.label | getProperty(...) : String |
2269
| Test.java:29:59:29:70 | tempDirChild | semmle.label | tempDirChild |
70+
| Test.java:33:24:33:69 | new File(...) : File | semmle.label | new File(...) : File |
2371
| Test.java:33:33:33:68 | getProperty(...) : String | semmle.label | getProperty(...) : String |
2472
| Test.java:34:59:34:65 | tempDir | semmle.label | tempDir |
73+
| Test.java:38:24:38:69 | new File(...) : File | semmle.label | new File(...) : File |
2574
| Test.java:38:33:38:68 | getProperty(...) : String | semmle.label | getProperty(...) : String |
2675
| Test.java:39:59:39:65 | tempDir | semmle.label | tempDir |
76+
| Test.java:53:29:53:84 | new File(...) : File | semmle.label | new File(...) : File |
2777
| Test.java:53:38:53:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
2878
| Test.java:54:9:54:20 | tempDirChild | semmle.label | tempDirChild |
79+
| Test.java:58:29:58:84 | new File(...) : File | semmle.label | new File(...) : File |
2980
| Test.java:58:38:58:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
3081
| Test.java:59:9:59:20 | tempDirChild | semmle.label | tempDirChild |
82+
| Test.java:63:29:63:88 | new File(...) : File | semmle.label | new File(...) : File |
3183
| Test.java:63:38:63:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
84+
| Test.java:64:21:64:32 | tempDirChild : File | semmle.label | tempDirChild : File |
3285
| Test.java:64:21:64:41 | toPath(...) | semmle.label | toPath(...) |
86+
| Test.java:68:29:68:88 | new File(...) : File | semmle.label | new File(...) : File |
3387
| Test.java:68:38:68:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
88+
| Test.java:71:21:71:32 | tempDirChild : File | semmle.label | tempDirChild : File |
3489
| Test.java:71:21:71:41 | toPath(...) | semmle.label | toPath(...) |
90+
| Test.java:75:29:75:104 | new File(...) : File | semmle.label | new File(...) : File |
3591
| Test.java:75:38:75:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
92+
| Test.java:76:33:76:44 | tempDirChild : File | semmle.label | tempDirChild : File |
3693
| Test.java:76:33:76:53 | toPath(...) | semmle.label | toPath(...) |
94+
| Test.java:80:29:80:102 | new File(...) : File | semmle.label | new File(...) : File |
3795
| Test.java:80:38:80:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
96+
| Test.java:81:31:81:42 | tempDirChild : File | semmle.label | tempDirChild : File |
3897
| Test.java:81:31:81:51 | toPath(...) | semmle.label | toPath(...) |
98+
| Test.java:85:29:85:100 | new File(...) : File | semmle.label | new File(...) : File |
3999
| Test.java:85:38:85:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
100+
| Test.java:86:26:86:37 | tempDirChild : File | semmle.label | tempDirChild : File |
40101
| Test.java:86:26:86:46 | toPath(...) | semmle.label | toPath(...) |
102+
| Test.java:99:29:99:101 | new File(...) : File | semmle.label | new File(...) : File |
41103
| Test.java:99:38:99:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
104+
| Test.java:100:31:100:42 | tempDirChild : File | semmle.label | tempDirChild : File |
42105
| Test.java:100:31:100:51 | toPath(...) | semmle.label | toPath(...) |
106+
| Test.java:104:29:104:109 | new File(...) : File | semmle.label | new File(...) : File |
43107
| Test.java:104:38:104:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
108+
| Test.java:105:33:105:44 | tempDirChild : File | semmle.label | tempDirChild : File |
44109
| Test.java:105:33:105:53 | toPath(...) | semmle.label | toPath(...) |
45110
#select
46111
| Files.java:10:33:10:68 | getProperty(...) | Files.java:10:33:10:68 | getProperty(...) : String | Files.java:15:17:15:23 | tempDir | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Files.java:10:33:10:68 | getProperty(...) | system temp directory |

0 commit comments

Comments
 (0)