mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
update alert-messages based on review feedback
This commit is contained in:
@@ -87,4 +87,4 @@ class ExploitableUserModePtrParam extends SystemCallSource {
|
||||
}
|
||||
|
||||
from ExploitableUserModePtrParam p
|
||||
select p, "'unsafe_put_user' write user-mode pointer $@ without check.", p, p.toString()
|
||||
select p, "This 'unsafe_put_user' writes a user-mode pointer without a security check."
|
||||
|
||||
@@ -58,4 +58,4 @@ class ReallocCallLeak extends FunctionCall {
|
||||
|
||||
from ReallocCallLeak rcl
|
||||
where not rcl.mayHandleByTermination()
|
||||
select rcl, "Possible loss of original pointer on unsuccessful call realloc."
|
||||
select rcl, "Possible loss of original pointer on unsuccessful call to 'realloc'."
|
||||
|
||||
@@ -26,5 +26,5 @@ where
|
||||
DataFlow::localFlow(DataFlow::parameterNode(p), sink) and
|
||||
p.getUnspecifiedType().getSize() < 8
|
||||
select call,
|
||||
"This call passes an unsigned int to a function that requires a signed int: $@. And then used in pointer arithmetic: $@.",
|
||||
"This call passes an unsigned int to a function that requires a signed int: $@. It's then used in pointer arithmetic: $@.",
|
||||
f, f.toString(), sink, sink.toString()
|
||||
|
||||
Reference in New Issue
Block a user