summaryrefslogtreecommitdiff
path: root/src/string/memmove_s.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/memmove_s.c')
-rw-r--r--src/string/memmove_s.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string/memmove_s.c b/src/string/memmove_s.c
index 0475ee00..a6d84b55 100644
--- a/src/string/memmove_s.c
+++ b/src/string/memmove_s.c
@@ -8,6 +8,7 @@ errno_t memmove_s(void *s1, rsize_t s1max, const void *s2, rsize_t n)
SIGNAL_SAFE(0);
ASSERT_NONNULL(s1);
ASSERT_NONNULL(s2);
+ /* Overlap is explicitly allowed */
if (n > s1max) {
/* do the right thing */