mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Remove SystemProperty from FlowSources
This commit is contained in:
@@ -6,7 +6,6 @@ import java
|
||||
import semmle.code.java.dataflow.DataFlow
|
||||
import semmle.code.java.dataflow.TaintTracking
|
||||
import semmle.code.java.dataflow.DefUse
|
||||
import semmle.code.java.environment.SystemProperty
|
||||
import semmle.code.java.frameworks.Jdbc
|
||||
import semmle.code.java.frameworks.Networking
|
||||
import semmle.code.java.frameworks.Properties
|
||||
@@ -183,8 +182,6 @@ class EnvInput extends LocalUserInput {
|
||||
// Results from various specific methods.
|
||||
this.asExpr().(MethodAccess).getMethod() instanceof EnvReadMethod
|
||||
or
|
||||
this.asExpr() = getSystemProperty(_)
|
||||
or
|
||||
// Access to `System.in`.
|
||||
exists(Field f | this.asExpr() = f.getAnAccess() | f instanceof SystemIn)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user