mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: Fix barrier in 'cpp/unbounded-write'.
This commit is contained in:
@@ -109,7 +109,7 @@ predicate lessThanOrEqual(IRGuardCondition g, Expr e, boolean branch) {
|
||||
g.comparesEq(left, _, _, true, branch)
|
||||
|
|
||||
interestingLessThanOrEqual(left) and
|
||||
left.getDef().getUnconvertedResultExpression() = e
|
||||
left.getDef().getConvertedResultExpression() = e
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user