Skip to content

Commit 6021b4f

Browse files
committed
C++: Remove local flow from additional taint step
This case was not supposed to be there -- that was the whole point of having the `localAdditionalTaintStep` predicate.
1 parent 7b09e41 commit 6021b4f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ predicate localTaintStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
1717
* different objects.
1818
*/
1919
predicate localAdditionalTaintStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
20-
// Taint can flow into using ordinary data flow.
21-
DataFlow::localFlowStep(nodeFrom, nodeTo)
22-
or
2320
localInstructionTaintStep(nodeFrom.asInstruction(), nodeTo.asInstruction())
2421
}
2522

0 commit comments

Comments
 (0)