mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Update NonConstantFormat.ql
Removed dead comment
This commit is contained in:
@@ -136,6 +136,6 @@ where
|
|||||||
call.getArgument(call.getFormatParameterIndex()) = formatString and
|
call.getArgument(call.getFormatParameterIndex()) = formatString and
|
||||||
NonConstFlow::flowTo(sink) and
|
NonConstFlow::flowTo(sink) and
|
||||||
isSinkImpl(sink, formatString)
|
isSinkImpl(sink, formatString)
|
||||||
select formatString, //sink.getNode(), src, sink,
|
select formatString,
|
||||||
"The format string argument to " + call.getTarget().getName() +
|
"The format string argument to " + call.getTarget().getName() +
|
||||||
" should be constant to prevent security issues and other potential errors."
|
" should be constant to prevent security issues and other potential errors."
|
||||||
|
|||||||
Reference in New Issue
Block a user