mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
@@ -10,7 +10,7 @@ private import semmle.code.cpp.dataflow.new.DataFlow
|
||||
class StringConcatenation extends Call {
|
||||
StringConcatenation() {
|
||||
// sprintf-like functions, i.e., concat through formatting
|
||||
exists(FormattingFunctionCall fc | this = fc)
|
||||
this instanceof FormattingFunctionCall
|
||||
or
|
||||
this.getTarget() instanceof StrcatFunction
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user