File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ helpviewer_keywords: ["C26831"]
1111
1212## Remarks
1313
14- Checks for allocations that have potentially overflown values as their sizes . This check is targeted to find the following code pattern:
14+ Checks for an allocation whose size may be the result of a numerical overflow . This check is targeted to find the following code pattern:
1515
1616``` cpp
1717void *SmallAlloc (int);
@@ -34,7 +34,7 @@ This warning is available in Visual Studio 2022 version 17.7 and later versions.
3434
3535## Example
3636
37- To fix the code example above , make sure `i+j` can't overflow. For example:
37+ To fix the previous code example, make sure `i+j` can't overflow. For example:
3838
3939```cpp
4040void *SmallAlloc(int);
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ helpviewer_keywords: ["C26832"]
1111
1212## Remarks
1313
14- Checks for allocations that have potentially overflown values as their sizes . This check is targeted to find the following code pattern:
14+ Checks for an allocation whose size may be the result of a numerical overflow . This check is targeted to find the following code pattern:
1515
1616``` cpp
1717void * SmallAlloc (int);
@@ -35,7 +35,7 @@ Usually, checking for a reasonable bound on the allocation should work.
3535This warning is available in Visual Studio 2022 version 17.7 and later versions.
3636## Example
3737
38- To fix the code example above , make sure `i+j` can't overflow. For example:
38+ To fix the previous code example, make sure `i+j` can't overflow. For example:
3939
4040```cpp
4141void *SmallAlloc(int);
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ helpviewer_keywords: ["C26833"]
1111
1212## Remarks
1313
14- Checks for allocations that have potentially overflown values as their sizes . This check is targeted to find the following code pattern:
14+ Checks for an allocation whose size may be the result of a numerical overflow . This check is targeted to find the following code pattern:
1515
1616``` cpp
1717void * SmallAlloc (int);
@@ -37,7 +37,7 @@ Usually, checking for a reasonable bound on the allocation should work.
3737This warning is available in Visual Studio 2022 version 17.7 and later versions.
3838## Example
3939
40- To fix the code example above , make sure `i+j` cannot overflow. For example:
40+ To fix the previous code example, make sure `i+j` cannot overflow. For example:
4141
4242```cpp
4343void* SmallAlloc(int);
You can’t perform that action at this time.
0 commit comments