From 5e3ccc0cca02673dfd60afbedc92de4aac03d37f Mon Sep 17 00:00:00 2001 From: Alex Eyers-Taylor Date: Wed, 26 Feb 2025 18:20:46 +0000 Subject: [PATCH] Java: Simplify interpretOutput --- .../lib/semmle/code/java/dataflow/internal/FlowSummaryImpl.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImpl.qll b/java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImpl.qll index 72e34d5b044..bbb40785d6b 100644 --- a/java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImpl.qll +++ b/java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImpl.qll @@ -301,7 +301,7 @@ module SourceSinkInterpretationInput implements ast = mid.asElement() | (c = "Parameter" or c = "") and - node.asNode().asParameter() = mid.asElement() + n.asParameter() = ast or c = "" and n.asExpr().(FieldRead).getField() = ast