Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8587d0 commit e47df5cCopy full SHA for e47df5c
1 file changed
cpp/ql/src/Likely Bugs/Format/NonConstantFormat.ql
@@ -136,6 +136,6 @@ where
136
call.getArgument(call.getFormatParameterIndex()) = formatString and
137
NonConstFlow::flowTo(sink) and
138
isSinkImpl(sink, formatString)
139
-select formatString, //sink.getNode(), src, sink,
+select formatString,
140
"The format string argument to " + call.getTarget().getName() +
141
" should be constant to prevent security issues and other potential errors."
0 commit comments