summaryrefslogtreecommitdiff
path: root/tests/test_stpncpy_overwrite_under.c (follow)
AgeCommit message (Collapse)Author
2023-12-28Re-enable previously disabled overlap checksjvoisin
They were previously disabled in 80a83a5
2023-12-27Don't check for overlapping in strncpy/stpncpy for nowjvoisin
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
2023-06-22Add tests for stcncpyjvoisin