C++: Fix wrong comment on what is tested

This commit is contained in:
Anders Fugmann
2021-08-17 15:21:03 +02:00
parent 92804a3cc3
commit 35b7808866

View File

@@ -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;