Skip to content

Commit ab3a62d

Browse files
committed
Update ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll
1 parent 6e61ef1 commit ab3a62d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ module LocalFlow {
185185
nodeTo.asExpr() =
186186
any(CfgNodes::ExprNodes::BinaryOperationCfgNode op |
187187
op.getExpr() instanceof BinaryLogicalOperation and
188-
nodeFrom.asExpr() = op.getAPredecessor()
188+
nodeFrom.asExpr() = op.getAnOperand()
189189
)
190190
}
191191
}

0 commit comments

Comments
 (0)