Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a294fb0 commit d2cc0d3Copy full SHA for d2cc0d3
1 file changed
cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/uncontrolled/test.c
@@ -74,13 +74,13 @@ void randomTester() {
74
{
75
int r = RAND2();
76
77
- r = r - 100; // BAD [NOT DETECTED]
+ r = r - 100; // BAD
78
}
79
80
81
int r = (rand() ^ rand());
82
83
84
85
86
0 commit comments