Skip to content

Commit 29a0da6

Browse files
bdrodesMathiasVP
andauthored
Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent 4972857 commit 29a0da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ private import semmle.code.cpp.dataflow.new.DataFlow
1010
class StringConcatenation extends Call {
1111
StringConcatenation() {
1212
// sprintf-like functions, i.e., concat through formatting
13-
exists(FormattingFunctionCall fc | this = fc)
13+
this instanceof FormattingFunctionCall
1414
or
1515
this.getTarget() instanceof StrcatFunction
1616
or

0 commit comments

Comments
 (0)