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 ea1d18e commit e383e44Copy full SHA for e383e44
cpp/ql/src/experimental/Security/CWE/CWE-266/IncorrectPrivilegeAssignment.ql
@@ -34,7 +34,7 @@ where
34
fc.getArgument(0).getValue() = "0" and
35
not exists(FunctionCall fctmp |
36
fctmp.getTarget().hasGlobalOrStdName("umask") and
37
- globalValueNumber(fctmp.getArgument(0)) != globalValueNumber(fc.getArgument(0))
+ fctmp.getArgument(0).getValue() != "0"
38
) and
39
exists(FunctionCall fctmp |
40
(
0 commit comments