Skip to content

Commit b3d2e75

Browse files
committed
Swift: Update swift/sql-injection to include local flow sources.
1 parent a5a459f commit b3d2e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/src/queries/Security/CWE-089/SqlInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class SQLiteSwiftSqlSink extends SqlSink {
6969
class 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
}

0 commit comments

Comments
 (0)