...
FindBugs version 1.3.9 can detect violations of this rule with the INT: Bad comparison of nonnegative value with negative constant detector.
Related
...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
FIO34-C. Use int to capture the return value of character IO functions | |
FIO34-CPP. Use int to capture the return value of character IO functions |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="12ad31734a2b46dc-5e3fd54a-4a834cd3-acbaad72-cddb5352f3adb3d96fdef3de"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API 06]] | Class | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="440457d30894c45b-99055576-4b5245c1-8eb4a957-7d0cb6274df4e1f8a4c0fee7"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | [Section 4.2 | http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#4.2] "Primitive Types and Values" | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ee750bedd73d9a44-d582802a-465d4faa-99f6b881-108d8459379b872e1f8e570b"><ac:plain-text-body><![CDATA[ | [[Pugh 2008 | AA. Bibliography#Pugh 08]] | "Waiting for the end" | ]]></ac:plain-text-body></ac:structured-macro> |
...