Skip to content

Commit 0b82f8a

Browse files
committed
Swift: Make QL-for-QL happy.
1 parent 4afcbb1 commit 0b82f8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

swift/ql/lib/codeql/swift/security/SqlInjectionExtensions.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ private class GrdbDefaultSqlInjectionSink extends SqlInjectionSink {
148148
}
149149

150150
/**
151-
* A parameter that might be executed as SQL.
151+
* Holds if `f`, `ix` describe `pd` and `pd` is a parameter that might be
152+
* executed as SQL.
152153
*/
153154
pragma[noinline]
154155
predicate sqlLikeHeuristic(Callable f, int ix, ParamDecl pd) {

0 commit comments

Comments
 (0)