We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e61ef1 commit ab3a62dCopy full SHA for ab3a62d
ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll
@@ -185,7 +185,7 @@ module LocalFlow {
185
nodeTo.asExpr() =
186
any(CfgNodes::ExprNodes::BinaryOperationCfgNode op |
187
op.getExpr() instanceof BinaryLogicalOperation and
188
- nodeFrom.asExpr() = op.getAPredecessor()
+ nodeFrom.asExpr() = op.getAnOperand()
189
)
190
}
191
0 commit comments