diff options
Diffstat (limited to '.github/codeql-queries')
-rw-r--r-- | .github/codeql-queries/UninitializedVariableWithCleanup.ql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/codeql-queries/UninitializedVariableWithCleanup.ql b/.github/codeql-queries/UninitializedVariableWithCleanup.ql index e514111f28..dadc6cb1b5 100644 --- a/.github/codeql-queries/UninitializedVariableWithCleanup.ql +++ b/.github/codeql-queries/UninitializedVariableWithCleanup.ql @@ -20,7 +20,7 @@ import semmle.code.cpp.controlflow.StackVariableReachability * since they don't do anything illegal even when the variable is uninitialized */ predicate cleanupFunctionDenyList(string fun) { - fun = "erase_char" + fun = "erase_char" or fun = "erase_obj" } /** |