Update csharp/ql/lib/semmle/code/csharp/dataflow/internal/TaintTrackingPrivate.qll

Co-authored-by: Tom Hvitved <hvitved@github.com>
This commit is contained in:
Michael Nebel
2026-03-04 12:28:07 +01:00
committed by GitHub
parent a604a68fe9
commit fbf40ef02a

View File

@@ -110,8 +110,8 @@ private class LocalTaintExprStepConfiguration extends ControlFlowReachabilityCon
}
private ControlFlow::Nodes::ExprNode getALastEvalNode(ControlFlow::Nodes::ExprNode cfn) {
exists(Expr e | any(LocalTaintExprStepConfiguration x).hasExprPath(_, result, e, cfn) |
e.(OperatorCall).getTarget() instanceof ImplicitConversionOperator
exists(OperatorCall oc | any(LocalTaintExprStepConfiguration x).hasExprPath(_, result, oc, cfn) |
oc.getTarget() instanceof ImplicitConversionOperator
)
}