Skip to content

Commit 29aec0d

Browse files
committed
Java: Adjust expected output.
1 parent c5193cf commit 29aec0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/test/query-tests/security/CWE-022/semmle/tests/TaintedPath.expected

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ edges
33
| Test.java:19:18:19:38 | getHostName(...) : String | Test.java:27:21:27:24 | temp |
44
| Test.java:19:18:19:38 | getHostName(...) : String | Test.java:30:44:30:47 | temp |
55
| Test.java:19:18:19:38 | getHostName(...) : String | Test.java:34:21:34:24 | temp |
6-
| Test.java:79:74:79:97 | getInputStream(...) : ServletInputStream | Test.java:81:67:81:81 | ... + ... |
6+
| Test.java:79:74:79:97 | getInputStream(...) : ServletInputStream | Test.java:82:67:82:81 | ... + ... |
77
nodes
88
| Test.java:19:18:19:38 | getHostName(...) : String | semmle.label | getHostName(...) : String |
99
| Test.java:24:20:24:23 | temp | semmle.label | temp |
1010
| Test.java:27:21:27:24 | temp | semmle.label | temp |
1111
| Test.java:30:44:30:47 | temp | semmle.label | temp |
1212
| Test.java:34:21:34:24 | temp | semmle.label | temp |
1313
| Test.java:79:74:79:97 | getInputStream(...) : ServletInputStream | semmle.label | getInputStream(...) : ServletInputStream |
14-
| Test.java:81:67:81:81 | ... + ... | semmle.label | ... + ... |
14+
| Test.java:82:67:82:81 | ... + ... | semmle.label | ... + ... |
1515
#select
1616
| Test.java:24:11:24:24 | new File(...) | Test.java:19:18:19:38 | getHostName(...) : String | Test.java:24:20:24:23 | temp | $@ flows to here and is used in a path. | Test.java:19:18:19:38 | getHostName(...) | User-provided value |
1717
| Test.java:27:11:27:25 | get(...) | Test.java:19:18:19:38 | getHostName(...) : String | Test.java:27:21:27:24 | temp | $@ flows to here and is used in a path. | Test.java:19:18:19:38 | getHostName(...) | User-provided value |
1818
| Test.java:30:11:30:48 | getPath(...) | Test.java:19:18:19:38 | getHostName(...) : String | Test.java:30:44:30:47 | temp | $@ flows to here and is used in a path. | Test.java:19:18:19:38 | getHostName(...) | User-provided value |
1919
| Test.java:34:12:34:25 | new File(...) | Test.java:19:18:19:38 | getHostName(...) : String | Test.java:34:21:34:24 | temp | $@ flows to here and is used in a path. | Test.java:19:18:19:38 | getHostName(...) | User-provided value |
20-
| Test.java:81:52:81:88 | new FileWriter(...) | Test.java:79:74:79:97 | getInputStream(...) : ServletInputStream | Test.java:81:67:81:81 | ... + ... | $@ flows to here and is used in a path. | Test.java:79:74:79:97 | getInputStream(...) | User-provided value |
20+
| Test.java:82:52:82:88 | new FileWriter(...) | Test.java:79:74:79:97 | getInputStream(...) : ServletInputStream | Test.java:82:67:82:81 | ... + ... | $@ flows to here and is used in a path. | Test.java:79:74:79:97 | getInputStream(...) | User-provided value |

0 commit comments

Comments
 (0)