Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 161e567

Browse files
MathiasVPhubwriter
andauthored
Apply suggestions from code review
Co-authored-by: hubwriter <[email protected]>
1 parent d9d82fc commit 161e567

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cpp/ql/src/Security/CWE/CWE-191/UnsignedDifferenceExpressionComparedZero.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<overview>
66
<p>
77
This rule finds relational comparisons between the result of an unsigned subtraction and the value <code>0</code>.
8-
Such comparisons are likely wrong as the value of an unsigned subtraction can never be negative. So the
8+
Such comparisons are likely to be wrong as the value of an unsigned subtraction can never be negative. So the
99
relational comparison ends up checking whether the result of the subtraction is equal to <code>0</code>.
10-
This is likely not what the programmer intended.
10+
This is probably not what the programmer intended.
1111
</p>
1212
</overview>
1313
<recommendation>
@@ -23,7 +23,7 @@ This is likely not what the programmer intended.
2323
</example>
2424
<references>
2525

26-
<li>CERT C Coding Standard:
26+
<li>SEI CERT C Coding Standard:
2727
<a href="https://wiki.sei.cmu.edu/confluence/display/c/INT02-C.+Understand+integer+conversion+rules">INT02-C. Understand integer conversion rules</a>.
2828
</li>
2929

0 commit comments

Comments
 (0)