Skip to content

Commit f2c8db5

Browse files
Updated C6200
Updated to the new format
1 parent d9d48d5 commit f2c8db5

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/code-quality/c6200.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
---
22
description: "Learn more about: C6200"
33
title: C6200
4-
ms.date: 11/04/2016
4+
ms.date: 08/16/2022
55
ms.topic: reference
6-
f1_keywords: ["C6200"]
6+
f1_keywords: ["C6200", "INDEX_EXCEEDS_MAX_NONSTACK", "__WARNING_INDEX_EXCEEDS_MAX_NONSTACK"]
77
helpviewer_keywords: ["C6200"]
88
ms.assetid: bbeb159b-4e97-4317-9a07-bb83cd03069a
99
---
10-
# C6200
10+
# Warning C6200
1111

12-
**Warning C6200: Index exceeds max non-stack(INDEX_EXCEEDS_MAX_NONSTACK)**\
13-
Example output:
1412
> Index '\**index*' is out of valid index range '\**min*' to '\**max*' for non-stack buffer '\**parameter-name*'
1513
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.
1715

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
1917

2018
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.
2119

0 commit comments

Comments
 (0)