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 7f0a7bb commit 6168b15Copy full SHA for 6168b15
cpp/ql/src/experimental/Security/CWE/CWE-266/IncorrectPrivilegeAssignment.ql
@@ -46,7 +46,7 @@ where
46
fc.getArgument(0).getValue() = "0" and
47
not exists(FunctionCall fctmp |
48
fctmp.getTarget().hasGlobalOrStdName("umask") and
49
- fctmp.getArgument(0).getValue() != "0"
+ not fctmp.getArgument(0).getValue() = "0"
50
) and
51
exists(FunctionCall fctmp |
52
(
0 commit comments