mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update LateCheckOfFunctionArgument.ql
This commit is contained in:
@@ -61,4 +61,6 @@ where
|
||||
dominates(ifc1, fc) and
|
||||
globalValueNumber(fc.getArgument(na)) = globalValueNumber(ifc1.getCondition().getAChild*())
|
||||
)
|
||||
select fc, "The value of argument '$@' appears to be checked after the call, rather than before it.", fc.getArgument(na), fc.getArgument(na).toString()
|
||||
select fc,
|
||||
"The value of argument '$@' appears to be checked after the call, rather than before it.",
|
||||
fc.getArgument(na), fc.getArgument(na).toString()
|
||||
|
||||
Reference in New Issue
Block a user