You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Warning C6200: Index exceeds max non-stack(INDEX_EXCEEDS_MAX_NONSTACK)**\
13
-
Example output:
14
12
> Index '\**index*' is out of valid index range '\**min*' to '\**max*' for non-stack buffer '\**parameter-name*'
15
13
16
-
## Description
14
+
This warning indicates that an integer offset into the specified array exceeds the maximum bounds of that array, potentially causing random behavior and/or crashes.
17
15
18
-
This warning indicates that an integer offset into the specified array exceeds the maximum bounds of that array. This defect might cause random behavior or crashes.
16
+
## Remarks
19
17
20
18
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.
0 commit comments