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 0fa66ac commit 7a5f9f6Copy full SHA for 7a5f9f6
1 file changed
javascript/ql/src/semmle/javascript/dataflow/TaintTracking.qll
@@ -421,11 +421,8 @@ module TaintTracking {
421
* Note that since we cannot easily distinguish string append from addition,
422
* we consider any `+` operation to propagate taint.
423
*/
424
- class StringConcatenationTaintStep extends AdditionalTaintStep {
425
- StringConcatenationTaintStep() { StringConcatenation::taintStep(_, this) }
426
-
+ class StringConcatenationTaintStep extends SharedTaintStep {
427
override predicate step(DataFlow::Node pred, DataFlow::Node succ) {
428
- succ = this and
429
StringConcatenation::taintStep(pred, succ)
430
}
431
0 commit comments