Skip to content

Commit d115522

Browse files
Update docs/code-quality/c26831.md
Co-authored-by: dmitrykobets-msft <[email protected]>
1 parent f464746 commit d115522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/code-quality/c26831.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ In case `i+j` overflows, `SmallAlloc` returns a buffer that is smaller than expe
2727
2828
Common allocation functions like `new`, `malloc`, and `VirtualAlloc` are recognized. The check also tries to recognize custom allocator functions by case insensitive search for the `alloc` substring in the function name.
2929
30-
Our analysis engine's numerical solver have some limitations reasoning about numerical overflows. As a result, this check is using some heuristics and sometimes fails to recognize that certain checks can prevent overflows.
30+
Our analysis engine's numerical solver have some limitations reasoning about numerical overflows. As a result, this check uses some heuristics and sometimes fails to recognize that certain checks can prevent overflows.
3131
Usually, checking for a reasonable bound on the allocation should work.
3232
3333
This warning is available in Visual Studio 2022 version 17.7 and later versions.

0 commit comments

Comments
 (0)