fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers
Log | Files | Refs | README | LICENSE

commit 01dc0e38a8a0be034bf21cc6ae4cc8cebc0e7a79
parent c59aa9ac0efa20e7194f6bb93635d0482f5c60f4
Author: psykose <alice@ayaya.dev>
Date:   Mon, 18 Dec 2023 11:47:09 +0000

fix typo for __builtin_memcpy

Diffstat:
Minclude/string.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/string.h b/include/string.h @@ -41,7 +41,7 @@ extern "C" { __fh_access(write_only, 1, 3) __fh_access(read_only, 2, 3) -#if __has_builtin(__builtin_mempcpy) +#if __has_builtin(__builtin_memcpy) __diagnose_as_builtin(__builtin_memcpy, 1, 2, 3) #endif _FORTIFY_FN(memcpy) void *memcpy(void * _FORTIFY_POS0 __od,