mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
C++: Remove UsingStrcpyAsBoolean.ql duplicates
This commit is contained in:
@@ -79,7 +79,7 @@ from FunctionCall func, Expr expr1, string msg
|
||||
where
|
||||
(
|
||||
isStringCopyCastedAsBoolean(func, expr1, msg) and
|
||||
not isStringCopyUsedInLogicalOperationOrCondition(func, expr1, _)
|
||||
not isStringCopyUsedInLogicalOperationOrCondition(func, _, _)
|
||||
)
|
||||
or
|
||||
isStringCopyUsedInLogicalOperationOrCondition(func, expr1, msg)
|
||||
|
||||
Reference in New Issue
Block a user