File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
lib/semmle/code/cpp/models/implementations
test/library-tests/dataflow/taint-tests Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ private class IteratorAssignmentMemberOperatorModel extends IteratorAssignmentMe
560560 TaintFunction , SideEffectFunction , AliasFunction
561561{
562562 override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
563- input .isParameterDeref ( 0 ) and
563+ ( input .isParameterDeref ( 0 ) or input . isParameter ( 0 ) ) and
564564 output .isQualifierObject ( )
565565 }
566566
Original file line number Diff line number Diff line change @@ -4,5 +4,4 @@ WARNING: Module DataFlow has been deprecated and may be removed in future (taint
44WARNING: Module DataFlow has been deprecated and may be removed in future (taint.ql:68,25-33)
55WARNING: Module TaintTracking has been deprecated and may be removed in future (taint.ql:73,20-33)
66testFailures
7- | standalone_iterators.cpp:112:11:112:21 | // $ ast,ir | Missing result:ir= |
87failures
You can’t perform that action at this time.
0 commit comments