We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da66281 commit 0e0b73aCopy full SHA for 0e0b73a
shared/dataflow/codeql/dataflow/internal/DataFlowImpl.qll
@@ -1334,8 +1334,10 @@ module MakeImpl<InputSig Lang> {
1334
bindingset[c, t, tail]
1335
additional Ap apCons(Content c, Typ t, Ap tail) {
1336
result = Param::apCons(c, t, tail) and
1337
- Config::accessPathLimit() > 0 and
1338
- if tail instanceof ApNil then any() else Config::accessPathLimit() > 1
+ exists(int limit |
+ limit = Config::accessPathLimit() and
1339
+ if tail instanceof ApNil then limit > 0 else limit > 1
1340
+ )
1341
}
1342
1343
pragma[nomagic]
0 commit comments