mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update IncorrectPrivilegeAssignment.ql
This commit is contained in:
@@ -34,7 +34,7 @@ where
|
||||
fc.getArgument(0).getValue() = "0" and
|
||||
not exists(FunctionCall fctmp |
|
||||
fctmp.getTarget().hasGlobalOrStdName("umask") and
|
||||
globalValueNumber(fctmp.getArgument(0)) != globalValueNumber(fc.getArgument(0))
|
||||
fctmp.getArgument(0).getValue() != "0"
|
||||
) and
|
||||
exists(FunctionCall fctmp |
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user