Skip to content

Commit 4b6fb15

Browse files
Updated C6200
Added code analysis name
1 parent f2c8db5 commit 4b6fb15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/code-quality/c6200.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ This warning indicates that an integer offset into the specified array exceeds t
1717

1818
One common cause of this defect is using the size of an array as an index into the array. Because C/C++ array indexing is zero-based, the maximum legal index into an array is one less than the number of array elements.
1919

20+
Code analysis name: INDEX_EXCEEDS_MAX_NONSTACK
21+
2022
## Example
2123

2224
The following code generates this warning. This issue stems from the **`for`** loop exceedeeding the index range, attempting to access the 14th index when the 13th is the last:

0 commit comments

Comments
 (0)