Skip to content

Commit 9358b82

Browse files
authored
modify select clause to make codeql happy:)
1 parent 2d7b9c0 commit 9358b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ class ExploitableUserModePtrParam extends Parameter {
5353
from ExploitableUserModePtrParam p, UnSafePutUserMacro unsafePutUser
5454
where
5555
DataFlow::localFlow(DataFlow::parameterNode(p), DataFlow::exprNode(unsafePutUser.getUserModePtr()))
56-
select p, unsafePutUser, "potential wrtie user mode ptr without check."
56+
select p, "unsafe_put_user write user-mode pointer $@ without check.", p, p.toString()

0 commit comments

Comments
 (0)