mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Update cpp/ql/lib/semmle/code/cpp/models/implementations/Pure.qll
Co-authored-by: Simon Friis Vindum <paldepind@github.com>
This commit is contained in:
committed by
GitHub
parent
2cdb52cad2
commit
fb12847360
@@ -52,7 +52,7 @@ private class PureStrFunction extends AliasFunction, ArrayFunction, TaintFunctio
|
||||
// If there is taint flow from *input to *output then there is also taint
|
||||
// flow from input to output.
|
||||
this.hasTaintFlow(input.getIndirectionInput(), output.getIndirectionOutput()) and
|
||||
// no need to add taint-flow if we already have dataflow
|
||||
// No need to add taint flow if we already have data flow.
|
||||
not this.hasDataFlow(input, output)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user