diff --git a/docs/security/GuardedMemcpy.md b/docs/security/GuardedMemcpy.md index a871042b8..0a7228d18 100644 --- a/docs/security/GuardedMemcpy.md +++ b/docs/security/GuardedMemcpy.md @@ -12,7 +12,7 @@ So let's see how we detect this with snmalloc. ## What is `memcpy`? -So `memcpy(src, dst, len)` copies `len` bytes from `src` to `dst`. +So `memcpy(dst, src, len)` copies `len` bytes from `src` to `dst`. For this to be valid, we can check: ``` if (src is managed by snmalloc)