File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
java/ql/test/library-tests/dataflow/taintsources Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ public void test(ResultSet rs) throws SQLException {
44
44
sink (new URL ("test" ).openConnection ().getInputStream ()); // $hasRemoteValueFlow
45
45
sink (new Socket ("test" , 1234 ).getInputStream ()); // $hasRemoteValueFlow
46
46
sink (InetAddress .getByName ("test" ).getHostName ()); // $hasReverseDnsValueFlow
47
+ sink (InetAddress .getLocalHost ().getHostName ());
48
+ sink (InetAddress .getLoopbackAddress ().getHostName ());
49
+ sink (InetAddress .getByName ("test" ).getCanonicalHostName ()); // $hasReverseDnsValueFlow
50
+ sink (InetAddress .getLocalHost ().getCanonicalHostName ());
51
+ sink (InetAddress .getLoopbackAddress ().getCanonicalHostName ());
47
52
48
53
sink (System .in ); // $hasLocalValueFlow
49
54
sink (new FileInputStream ("test" )); // $hasLocalValueFlow
You can’t perform that action at this time.
0 commit comments