Skip to content

Commit 5fd5d15

Browse files
committed
C6059: Add heuristics
This warning is similar to C6053, so I decided to reuse the heuristics section from there.
1 parent 7d1200d commit 5fd5d15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/code-quality/c6059.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ void f( )
7777
}
7878
```
7979
80+
## Heuristics
81+
82+
This warning is sometimes reported on certain idioms guaranteed to be safe in practice. Because of the frequency and potential consequences of this defect, the analysis tool is biased in favor of finding potential issues instead of its typical bias of reducing noise.
83+
8084
## See also
8185
8286
- [`strncpy_s`, `_strncpy_s_l`, `wcsncpy_s`, `_wcsncpy_s_l`, `_mbsncpy_s`, `_mbsncpy_s_l`](../c-runtime-library/reference/strncpy-s-strncpy-s-l-wcsncpy-s-wcsncpy-s-l-mbsncpy-s-mbsncpy-s-l.md)

0 commit comments

Comments
 (0)