File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
swift/ql/src/queries/Security Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class SQLiteSwiftSqlSink extends SqlSink {
69
69
class SqlInjectionConfig extends TaintTracking:: Configuration {
70
70
SqlInjectionConfig ( ) { this = "SqlInjectionConfig" }
71
71
72
- override predicate isSource ( DataFlow:: Node node ) { node instanceof RemoteFlowSource }
72
+ override predicate isSource ( DataFlow:: Node node ) { node instanceof FlowSource }
73
73
74
74
override predicate isSink ( DataFlow:: Node node ) { node instanceof SqlSink }
75
75
}
Original file line number Diff line number Diff line change @@ -20,9 +20,8 @@ import DataFlow::PathGraph
20
20
21
21
/**
22
22
* A source of untrusted, user-controlled data.
23
- * TODO: Extend to more (non-remote) sources in the future.
24
23
*/
25
- class Source = RemoteFlowSource ;
24
+ class Source = FlowSource ;
26
25
27
26
/**
28
27
* A sink that evaluates a string of JavaScript code.
You can’t perform that action at this time.
0 commit comments