Skip to content

Commit c281820

Browse files
authored
Update LateCheckOfFunctionArgument.ql
1 parent 07769c7 commit c281820

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-020/LateCheckOfFunctionArgument.ql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,6 @@ where
6161
dominates(ifc1, fc) and
6262
globalValueNumber(fc.getArgument(na)) = globalValueNumber(ifc1.getCondition().getAChild*())
6363
)
64-
select fc, "The value of argument '$@' appears to be checked after the call, rather than before it.", fc.getArgument(na), fc.getArgument(na).toString()
64+
select fc,
65+
"The value of argument '$@' appears to be checked after the call, rather than before it.",
66+
fc.getArgument(na), fc.getArgument(na).toString()

0 commit comments

Comments
 (0)