mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Use RemoteFlowSource instead of UserInput
This commit is contained in:
@@ -35,7 +35,7 @@ predicate conditionControlsMethod(MethodAccess m, Expr e) {
|
||||
class ConditionalBypassFlowConfig extends TaintTracking::Configuration {
|
||||
ConditionalBypassFlowConfig() { this = "ConditionalBypassFlowConfig" }
|
||||
|
||||
override predicate isSource(DataFlow::Node source) { source instanceof UserInput }
|
||||
override predicate isSource(DataFlow::Node source) { source instanceof RemoteFlowSource }
|
||||
|
||||
override predicate isSink(DataFlow::Node sink) { conditionControlsMethod(_, sink.asExpr()) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user