Skip to content

Commit 803b212

Browse files
committed
update metadata
1 parent f3e1548 commit 803b212

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

docs/code-quality/c26838.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
# For more information, see https://review.learn.microsoft.com/en-us/help/platform/learn-editor-add-metadata?branch=main
44
# For valid values of ms.service, ms.prod, and ms.topic, see https://review.learn.microsoft.com/en-us/help/platform/metadata-taxonomies?branch=main
55

6-
title: # Add a title for the browser tab
7-
description: # Add a meaningful description for search results
8-
author: Rastaban # GitHub alias
9-
ms.author: philc # Microsoft alias
10-
ms.service: # Add the ms.service or ms.prod value
11-
# ms.prod: # To use ms.prod, uncomment it and delete ms.service
12-
ms.topic: # Add the ms.topic value
13-
ms.date: 08/22/2024
6+
title: Warning C26838
7+
description: Learn about Microsoft C++ code analysis warning. C26838
8+
author: Rastaban
9+
ms.author: philc
10+
ms.topic: reference
11+
ms.date: 1/10/2025
1412
---
15-
# Warning `C26838`
13+
# Warning C26838
1614

1715
> Allocation size is the result of a signed to unsigned narrowing conversion that could result in overflow if the signed value is negative
1816
@@ -38,7 +36,7 @@ This check applies to common allocation functions like `new`, `malloc`, and `Vir
3836
3937
This check sometimes fails to recognize that certain checks can prevent overflows because the check is conservative.
4038
41-
This warning is available in Visual Studio 2022 version 17.12 and later versions.
39+
This warning is available in Visual Studio 2022 version 17.13 and later versions.
4240
4341
## Example
4442

docs/code-quality/c26839.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44
# For valid values of ms.service, ms.prod, and ms.topic, see https://review.learn.microsoft.com/en-us/help/platform/metadata-taxonomies?branch=main
55

66
title: Warning C26839
7-
description: '"Describes the Microsoft C/C++ code analysis warning C26839, its causes, and how to address it."'
8-
author: Rastaban # GitHub alias
9-
ms.author: philc # Microsoft alias
10-
ms.service: visual-cpp
7+
description: Learn about Microsoft C++ code analysis warning C26839.
8+
author: Rastaban
9+
ms.author: philc
1110
ms.topic: reference
12-
ms.date: 08/22/2024
11+
ms.date: 1/10/2025
1312
---
1413
# Warning C26839
1514

16-
1715
> Array new allocation size is the result of a signed to unsigned narrowing conversion that could result in overflow if the signed value is negative
1816
1917
## Remarks

0 commit comments

Comments
 (0)