We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b6531 commit 51d04cbCopy full SHA for 51d04cb
cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/ComparisonWithWiderType/test3.cpp
@@ -3,5 +3,5 @@ void test_issue_5850(unsigned char small, unsigned int large1) {
3
}
4
5
void test_widening(unsigned char small, char large) {
6
- for(; small < static_cast<unsigned int>(static_cast<short>(large) - 1); small++) { } // GOOD [FALSE POSITIVE]
+ for(; small < static_cast<unsigned int>(static_cast<short>(large) - 1); small++) { } // GOOD
7
0 commit comments