diff options
Diffstat (limited to 'string/bits/strings_fortified.h')
-rw-r--r-- | string/bits/strings_fortified.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/string/bits/strings_fortified.h b/string/bits/strings_fortified.h index d4091f4f69..7752faf4e3 100644 --- a/string/bits/strings_fortified.h +++ b/string/bits/strings_fortified.h @@ -22,13 +22,15 @@ __fortify_function void __NTH (bcopy (const void *__src, void *__dest, size_t __len)) { - (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); + (void) __builtin___memmove_chk (__dest, __src, __len, + __glibc_objsize0 (__dest)); } __fortify_function void __NTH (bzero (void *__dest, size_t __len)) { - (void) __builtin___memset_chk (__dest, '\0', __len, __bos0 (__dest)); + (void) __builtin___memset_chk (__dest, '\0', __len, + __glibc_objsize0 (__dest)); } #endif |