Skip to content

Commit de9eae2

Browse files
Update csharp/ql/lib/semmle/code/csharp/frameworks/OData.qll
Co-authored-by: Michael Nebel <michaelnebel@github.com>
1 parent 131b6be commit de9eae2

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

  • csharp/ql/lib/semmle/code/csharp/frameworks

csharp/ql/lib/semmle/code/csharp/frameworks/OData.qll

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,3 @@ private class ODataBoundMember extends TaintTracking::TaintedMember, CandidateMe
100100
)
101101
}
102102
}
103-
104-
/**
105-
* A call to `Delta<T>.Patch`/`Put`/`CopyChangedValues`/`CopyUnchangedValues`
106-
* copies the changes tracked by the `Delta<T>` receiver onto its `original`
107-
* entity argument.
108-
*/
109-
private class DeltaMutatingCallTaintStep extends AdditionalTaintStep {
110-
override predicate step(DataFlow::Node node1, DataFlow::Node node2) {
111-
exists(MethodCall mc |
112-
mc.getTarget().getUnboundDeclaration() instanceof DeltaMutatingMethod and
113-
node1.asExpr() = mc.getQualifier() and
114-
node2.(PostUpdateNode).getPreUpdateNode().asExpr() = mc.getArgument(0)
115-
)
116-
}
117-
}

0 commit comments

Comments
 (0)