Skip to content

Commit d2cc0d3

Browse files
committed
C++: Fix annotations.
1 parent a294fb0 commit d2cc0d3

File tree

1 file changed

+2
-2
lines changed
  • cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/uncontrolled

1 file changed

+2
-2
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/uncontrolled/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ void randomTester() {
7474
{
7575
int r = RAND2();
7676

77-
r = r - 100; // BAD [NOT DETECTED]
77+
r = r - 100; // BAD
7878
}
7979

8080
{
8181
int r = (rand() ^ rand());
8282

83-
r = r - 100; // BAD [NOT DETECTED]
83+
r = r - 100; // BAD
8484
}
8585

8686
{

0 commit comments

Comments
 (0)