File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
java/ql/lib/semmle/code/java/dataflow Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import semmle.code.java.frameworks.Guice
3030import semmle.code.java.frameworks.struts.StrutsActions
3131import semmle.code.java.frameworks.Thrift
3232import semmle.code.java.frameworks.javaee.jsf.JSFRenderer
33+ import semmle.code.java.security.FileReadWrite
3334private import semmle.code.java.dataflow.ExternalFlow
3435private import codeql.threatmodels.ThreatModels
3536
@@ -248,7 +249,7 @@ private class StdinInput extends LocalUserInput {
248249private class FileInput extends LocalUserInput {
249250 FileInput ( ) {
250251 // Access to files.
251- sourceNode ( this , "file" )
252+ sourceNode ( this , "file" ) or this . asExpr ( ) instanceof FileReadExpr
252253 }
253254
254255 override string getThreatModel ( ) { result = "file" }
You can’t perform that action at this time.
0 commit comments