summaryrefslogtreecommitdiff
path: root/tests/test_write_static.c
diff options
context:
space:
mode:
authorjvoisin2023-12-27 12:36:47 +0100
committerJulien Voisin2023-12-27 16:06:59 +0100
commit80a83a56b52e833e6d3afec4d0723d7625d52cee (patch)
treed8b0c2930b867f2eb1867f3f362b64dac84ce3ac /tests/test_write_static.c
parent01dc0e38a8a0be034bf21cc6ae4cc8cebc0e7a79 (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 'tests/test_write_static.c')
0 files changed, 0 insertions, 0 deletions