diff options
Diffstat (limited to 'src/string/strxfrm.c')
| -rw-r--r-- | src/string/strxfrm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string/strxfrm.c b/src/string/strxfrm.c index fc16087a..9d0b5429 100644 --- a/src/string/strxfrm.c +++ b/src/string/strxfrm.c @@ -9,6 +9,7 @@ size_t strxfrm(char * restrict s1, const char * restrict s2, size_t n) (void)s1; (void)s2; (void)n; SIGNAL_SAFE(0); ASSERT_NONNULL(s2); + ASSERT_NOOVERLAP(s1, n, s2, n); if (n != 0) { ASSERT_NONNULL(s1); |
