We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1f987 commit 3cd08bcCopy full SHA for 3cd08bc
1 file changed
cpp/ql/lib/semmle/code/cpp/commons/Printf.qll
@@ -261,7 +261,12 @@ class FormattingFunctionCall extends Expr {
261
* is, this call behaves like `sprintf`)
262
*/
263
Expr getOutputArgument(boolean isStream) {
264
- result = this.(Call).getArgument(this.(Call).getTarget().(FormattingFunction).getOutputParameterIndex(isStream))
+ result =
265
+ this.(Call)
266
+ .getArgument(this.(Call)
267
+ .getTarget()
268
+ .(FormattingFunction)
269
+ .getOutputParameterIndex(isStream))
270
}
271
272
0 commit comments