Skip to content

Commit f2e6d0a

Browse files
committed
Add some extra detail to the intro
1 parent 3f0ae7e commit f2e6d0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/code-quality/c6059.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ ms.assetid: 343a4cd1-048a-4edf-bb4b-187097bb6093
1414

1515
This warning indicates that a call to a string concatenation function is probably passing an incorrect value for the number of characters to concatenate. This defect might cause an exploitable buffer overrun or crash. A common cause of this defect is passing the buffer size (instead of the remaining number of characters in the buffer) to the string manipulation function.
1616

17+
This warning helps identify the common error of sending the size of the target buffer instead of the size of the data. It does so by detecting when the size used to allocate the buffer is passed, unchanged, to the function putting data in the buffer.
18+
1719
Code analysis name: `BAD_CONCATENATION`
1820

1921
## Example

0 commit comments

Comments
 (0)