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
560
560
TaintFunction , SideEffectFunction , AliasFunction
561
561
{
562
562
override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
563
- input .isParameterDeref ( 0 ) and
563
+ ( input .isParameterDeref ( 0 ) or input . isParameter ( 0 ) ) and
564
564
output .isQualifierObject ( )
565
565
}
566
566
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
4
4
WARNING: Module DataFlow has been deprecated and may be removed in future (taint.ql:68,25-33)
5
5
WARNING: Module TaintTracking has been deprecated and may be removed in future (taint.ql:73,20-33)
6
6
testFailures
7
- | standalone_iterators.cpp:112:11:112:21 | // $ ast,ir | Missing result:ir= |
8
7
failures
You can’t perform that action at this time.
0 commit comments