Skip to content

Commit aa70b97

Browse files
committed
spelling: optimistically
Signed-off-by: Josh Soref <[email protected]>
1 parent aa3d43a commit aa70b97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Security/CWE/CWE-190/Bounded.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ predicate bounded(Expr e) {
3131
) and
3232
not convertedExprMightOverflow(e)
3333
or
34-
// Optimitically assume that a remainder expression always yields a much smaller value.
34+
// Optimistically assume that a remainder expression always yields a much smaller value.
3535
e = any(RemExpr rem).getLeftOperand()
3636
or
3737
e = any(AssignRemExpr rem).getLValue()
@@ -44,7 +44,7 @@ predicate bounded(Expr e) {
4444
boundedBitwiseAnd(e, andExpr, andExpr.getAnOperand(), andExpr.getAnOperand())
4545
)
4646
or
47-
// Optimitically assume that a division always yields a much smaller value.
47+
// Optimistically assume that a division always yields a much smaller value.
4848
e = any(DivExpr div).getLeftOperand()
4949
or
5050
e = any(AssignDivExpr div).getLValue()

0 commit comments

Comments
 (0)