Skip to content

Commit a6596ea

Browse files
committed
Fix test requirements, formatting
1 parent 7965459 commit a6596ea

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

java/ql/src/Security/CWE/CWE-200/TempDirLocalInformationDisclosure.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ private class TempDirSystemGetPropertyToCreateConfig extends TaintTracking::Conf
125125
//
126126
// Begin configuration for tracking single-method calls that are vulnerable.
127127
//
128-
129128
/**
130129
* A `MethodAccess` against a method that creates a temporary file or directory in a shared temporary directory.
131130
*/

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ edges
3636
| Test.java:186:21:186:32 | tempDirChild : File | Test.java:186:21:186:41 | toPath(...) |
3737
| Test.java:202:29:202:104 | new File(...) : File | Test.java:202:29:202:113 | toPath(...) : Path |
3838
| Test.java:202:29:202:113 | toPath(...) : Path | Test.java:205:33:205:44 | tempDirChild |
39-
| Test.java:202:29:202:113 | toPath(...) : Path | Test.java:209:33:209:44 | tempDirChild |
4039
| Test.java:202:38:202:73 | getProperty(...) : String | Test.java:202:29:202:104 | new File(...) : File |
4140
| Test.java:214:29:214:102 | new File(...) : File | Test.java:214:29:214:111 | toPath(...) : Path |
4241
| Test.java:214:29:214:111 | toPath(...) : Path | Test.java:217:31:217:42 | tempDirChild |
43-
| Test.java:214:29:214:111 | toPath(...) : Path | Test.java:221:31:221:42 | tempDirChild |
4442
| Test.java:214:38:214:73 | getProperty(...) : String | Test.java:214:29:214:102 | new File(...) : File |
4543
| Test.java:226:29:226:100 | new File(...) : File | Test.java:229:26:229:37 | tempDirChild : File |
4644
| Test.java:226:38:226:73 | getProperty(...) : String | Test.java:226:29:226:100 | new File(...) : File |
@@ -94,12 +92,10 @@ nodes
9492
| Test.java:202:29:202:113 | toPath(...) : Path | semmle.label | toPath(...) : Path |
9593
| Test.java:202:38:202:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
9694
| Test.java:205:33:205:44 | tempDirChild | semmle.label | tempDirChild |
97-
| Test.java:209:33:209:44 | tempDirChild | semmle.label | tempDirChild |
9895
| Test.java:214:29:214:102 | new File(...) : File | semmle.label | new File(...) : File |
9996
| Test.java:214:29:214:111 | toPath(...) : Path | semmle.label | toPath(...) : Path |
10097
| Test.java:214:38:214:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
10198
| Test.java:217:31:217:42 | tempDirChild | semmle.label | tempDirChild |
102-
| Test.java:221:31:221:42 | tempDirChild | semmle.label | tempDirChild |
10399
| Test.java:226:29:226:100 | new File(...) : File | semmle.label | new File(...) : File |
104100
| Test.java:226:38:226:73 | getProperty(...) : String | semmle.label | getProperty(...) : String |
105101
| Test.java:229:26:229:37 | tempDirChild : File | semmle.label | tempDirChild : File |
@@ -127,9 +123,7 @@ subpaths
127123
| Test.java:156:38:156:73 | getProperty(...) | Test.java:156:38:156:73 | getProperty(...) : String | Test.java:157:21:157:41 | toPath(...) | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Test.java:156:38:156:73 | getProperty(...) | system temp directory |
128124
| Test.java:185:38:185:73 | getProperty(...) | Test.java:185:38:185:73 | getProperty(...) : String | Test.java:186:21:186:41 | toPath(...) | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Test.java:185:38:185:73 | getProperty(...) | system temp directory |
129125
| Test.java:202:38:202:73 | getProperty(...) | Test.java:202:38:202:73 | getProperty(...) : String | Test.java:205:33:205:44 | tempDirChild | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Test.java:202:38:202:73 | getProperty(...) | system temp directory |
130-
| Test.java:202:38:202:73 | getProperty(...) | Test.java:202:38:202:73 | getProperty(...) : String | Test.java:209:33:209:44 | tempDirChild | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Test.java:202:38:202:73 | getProperty(...) | system temp directory |
131126
| Test.java:214:38:214:73 | getProperty(...) | Test.java:214:38:214:73 | getProperty(...) : String | Test.java:217:31:217:42 | tempDirChild | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Test.java:214:38:214:73 | getProperty(...) | system temp directory |
132-
| Test.java:214:38:214:73 | getProperty(...) | Test.java:214:38:214:73 | getProperty(...) : String | Test.java:221:31:221:42 | tempDirChild | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Test.java:214:38:214:73 | getProperty(...) | system temp directory |
133127
| Test.java:226:38:226:73 | getProperty(...) | Test.java:226:38:226:73 | getProperty(...) : String | Test.java:229:26:229:46 | toPath(...) | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Test.java:226:38:226:73 | getProperty(...) | system temp directory |
134128
| Test.java:247:38:247:73 | getProperty(...) | Test.java:247:38:247:73 | getProperty(...) : String | Test.java:250:31:250:51 | toPath(...) | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Test.java:247:38:247:73 | getProperty(...) | system temp directory |
135129
| Test.java:258:38:258:73 | getProperty(...) | Test.java:258:38:258:73 | getProperty(...) : String | Test.java:261:33:261:53 | toPath(...) | Local information disclosure vulnerability from $@ due to use of file or directory readable by other local users. | Test.java:258:38:258:73 | getProperty(...) | system temp directory |

0 commit comments

Comments
 (0)