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