mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
C++: Fix mistake in previous commit.
This commit is contained in:
@@ -45,7 +45,7 @@ predicate mayAddNullTerminator(Expr e, VariableAccess va) {
|
||||
// Assignment to another stack variable
|
||||
exists(Expr e0 |
|
||||
mayAddNullTerminatorHelper(pragma[only_bind_into](e), va, pragma[only_bind_into](e0)) and
|
||||
nodeBefore(e0, e)
|
||||
nodeBefore(e, e0)
|
||||
)
|
||||
or
|
||||
// Assignment to non-stack variable
|
||||
|
||||
Reference in New Issue
Block a user