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 3161d11 commit 9b8b916Copy full SHA for 9b8b916
cpp/ql/src/experimental/Security/CWE/CWE-243/IncorrectChangingWorkingDirectory.ql
@@ -68,6 +68,6 @@ where
68
not exists(ReturnStmt rttmp | rttmp.getExpr().getAChild*() = fc) and
69
not exists(Assignment astmp | astmp.getAChild*() = fc) and
70
not exists(Initializer ittmp | ittmp.getExpr().getAChild*() = fc) and
71
- not isFromMacroDefinition(fc)
+ not isFromMacroDefinition(fc) and
72
msg = "Unchecked return value for call to '" + fc.getTarget().getName() + "'."
73
select fc, msg
0 commit comments