mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
C++: Fix wrong comment on what is tested
This commit is contained in:
@@ -114,7 +114,7 @@ void test6(bool cond)
|
||||
|
||||
c = 100;
|
||||
buffer[c] = 'x'; // BAD: over-write [NOT DETECTED]
|
||||
ch = buffer[c]; // BAD: under-read [NOT DETECTED]
|
||||
ch = buffer[c]; // BAD: over-read [NOT DETECTED]
|
||||
|
||||
d = 0;
|
||||
d = 1000;
|
||||
|
||||
Reference in New Issue
Block a user