mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Accidental removal of an and.
This commit is contained in:
@@ -95,7 +95,8 @@ predicate isNonConst(DataFlow::Node node) {
|
||||
|
|
||||
node = callOutput(call, output)
|
||||
)
|
||||
) not exists(Call c |
|
||||
) and
|
||||
not exists(Call c |
|
||||
c.getTarget().hasDefinition() and
|
||||
if node instanceof DataFlow::DefinitionByReferenceNode
|
||||
then c.getAnArgument() = node.asDefiningArgument()
|
||||
|
||||
Reference in New Issue
Block a user