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 aeae208 commit 75b13daCopy full SHA for 75b13da
ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll
@@ -220,8 +220,10 @@ module LocalFlow {
220
or
221
nodeTo.asExpr() =
222
any(CfgNodes::ExprNodes::BinaryOperationCfgNode op |
223
- op.getExpr() instanceof BinaryLogicalOperation and
+ op.getExpr() instanceof LogicalOrExpr and
224
nodeFrom.asExpr() = op.getAnOperand()
225
+ or
226
+ op.getExpr() instanceof LogicalAndExpr and nodeFrom.asExpr() = op.getRightOperand()
227
)
228
229
nodeTo.(ParameterNodeImpl).getParameter() =
0 commit comments