Skip to content

Commit c8e0d7f

Browse files
committed
Summary model for File should include overriden methods
1 parent 2565cdb commit c8e0d7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ private predicate summaryModelCsv(string row) {
298298
"java.net;URI;false;toURL;;;Argument[-1];ReturnValue;taint",
299299
"java.net;URI;false;toString;;;Argument[-1];ReturnValue;taint",
300300
"java.net;URI;false;toAsciiString;;;Argument[-1];ReturnValue;taint",
301-
"java.io;File;false;toURI;;;Argument[-1];ReturnValue;taint",
302-
"java.io;File;false;toPath;;;Argument[-1];ReturnValue;taint",
301+
"java.io;File;true;toURI;;;Argument[-1];ReturnValue;taint",
302+
"java.io;File;true;toPath;;;Argument[-1];ReturnValue;taint",
303303
"java.io;File;true;getAbsoluteFile;;;Argument[-1];ReturnValue;taint",
304304
"java.io;File;true;getCanonicalFile;;;Argument[-1];ReturnValue;taint",
305305
"java.io;File;true;getAbsolutePath;;;Argument[-1];ReturnValue;taint",

0 commit comments

Comments
 (0)