mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Track taint through java.io.File constructor and #toURI; URI#toURL
This commit is contained in:
@@ -129,6 +129,9 @@ public class B {
|
||||
String[][][] taintedArray3 = new String[][][] { { { s } } };
|
||||
sink(taintedArray3);
|
||||
|
||||
// Tainted file path and URI
|
||||
sink(new java.io.File(s).toURI().toURL());
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user