Track taint through java.io.File constructor and #toURI; URI#toURL

This commit is contained in:
Daniel Beck
2020-10-10 20:29:01 +02:00
parent c8cacb9fee
commit 0c70be145f
3 changed files with 15 additions and 0 deletions

View File

@@ -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;
}