diff options
| author | jvoisin | 2023-12-27 12:36:47 +0100 |
|---|---|---|
| committer | Julien Voisin | 2023-12-27 16:06:59 +0100 |
| commit | 80a83a56b52e833e6d3afec4d0723d7625d52cee (patch) | |
| tree | d8b0c2930b867f2eb1867f3f362b64dac84ce3ac /include/wchar.h | |
| parent | 01dc0e38a8a0be034bf21cc6ae4cc8cebc0e7a79 (diff) | |
Don't check for overlapping in strncpy/stpncpy for now
They check overlap across the whole range of the given length, but
the given length is not what will actually be copied, rather it's
the maximum length (if src is shorter, only length of src will be
copied). This triggers false positives and traps where it shouldn't
(e.g. in ICU tests).
Reported-by: q66
Diffstat (limited to 'include/wchar.h')
0 files changed, 0 insertions, 0 deletions
