Update cpp/ql/src/experimental/Security/CWE/CWE-266/IncorrectPrivilegeAssignment.ql

Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
ihsinme
2021-11-19 08:56:21 +03:00
committed by GitHub
parent 7f0a7bbec9
commit 6168b15bbc

View File

@@ -46,7 +46,7 @@ where
fc.getArgument(0).getValue() = "0" and
not exists(FunctionCall fctmp |
fctmp.getTarget().hasGlobalOrStdName("umask") and
fctmp.getArgument(0).getValue() != "0"
not fctmp.getArgument(0).getValue() = "0"
) and
exists(FunctionCall fctmp |
(