...
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="b648ef0c9e99a4b3-45ec232c-4c9f4a25-8a778e26-cfc432131820da635fd41232"><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="d45557cccdb1e056-33de46ae-4e8348fa-9d899c7f-3cbc5d5c06309095568ed968"><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="203bfdee0704bf4b-c025766e-40194722-ba5abe94-0121452deb140004d9e3e4dd"><ac:plain-text-body><![CDATA[ | [[Pugh 2008 | AA. Bibliography#Pugh 08]] | "Waiting for the end" | ]]></ac:plain-text-body></ac:structured-macro> |
...