Update NonConstantFormat.ql

Removed dead comment
This commit is contained in:
Ben Rodes
2024-02-05 09:39:05 -05:00
committed by GitHub
parent e8587d060d
commit e47df5c7bc

View File

@@ -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."