Skip to content

Commit a4c845c

Browse files
committed
C++: Fix barrier in 'cpp/unbounded-write'.
1 parent 78389c8 commit a4c845c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Security/CWE/CWE-120/UnboundedWrite.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ predicate lessThanOrEqual(IRGuardCondition g, Expr e, boolean branch) {
109109
g.comparesEq(left, _, _, true, branch)
110110
|
111111
interestingLessThanOrEqual(left) and
112-
left.getDef().getUnconvertedResultExpression() = e
112+
left.getDef().getConvertedResultExpression() = e
113113
)
114114
}
115115

0 commit comments

Comments
 (0)