mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Update ql/src/codeql_ruby/dataflow/BarrierGuards.qll
Co-authored-by: Tom Hvitved <hvitved@github.com>
This commit is contained in:
@@ -60,7 +60,7 @@ class StringConstArrayInclusionCall extends DataFlow::BarrierGuard,
|
||||
this.getExpr().getReceiver() = aLit
|
||||
|
|
||||
forall(Expr elem | elem = aLit.getAnElement() | elem instanceof StringLiteral) and
|
||||
this.getExpr().getArgument(0) = checkedNode.getNode()
|
||||
this.getArgument(0) = checkedNode
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user