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 {
6969class SqlInjectionConfig extends TaintTracking:: Configuration {
7070 SqlInjectionConfig ( ) { this = "SqlInjectionConfig" }
7171
72- override predicate isSource ( DataFlow:: Node node ) { node instanceof RemoteFlowSource }
72+ override predicate isSource ( DataFlow:: Node node ) { node instanceof FlowSource }
7373
7474 override predicate isSink ( DataFlow:: Node node ) { node instanceof SqlSink }
7575}
Original file line number Diff line number Diff line change @@ -20,9 +20,8 @@ import DataFlow::PathGraph
2020
2121/**
2222 * A source of untrusted, user-controlled data.
23- * TODO: Extend to more (non-remote) sources in the future.
2423 */
25- class Source = RemoteFlowSource ;
24+ class Source = FlowSource ;
2625
2726/**
2827 * A sink that evaluates a string of JavaScript code.
You can’t perform that action at this time.
0 commit comments