...
Wiki Markup |
---|
These functions truncate strings that exceed the specified limits. Additionally, some functions such as {{strncpy()}} do not guarantee that the resulting string is null-terminated \[[STR32-C. Guarantee that all byte strings are null-terminated as required]\]. |
Unintentional truncation results in a loss of data and, in some cases, leads to software vulnerabilities.
...