fortify-headers

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

commit 8439dc0d1b986e7652afd78c1462707f4bf90f8b
parent 32b21b7d85383df49030b18240c1409e73001066
Author: jvoisin <julien.voisin@dustri.org>
Date:   Mon, 16 Oct 2023 17:48:32 +0200

Add a check about redefined macros

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

diff --git a/include/fortify-headers.h b/include/fortify-headers.h @@ -94,7 +94,7 @@ #define __malloc(...) #endif -#if __has_attribute (alloc_size) +#if __has_attribute (alloc_size) && !defined(__alloc_size) #define __alloc_size(...) __attribute__ ((alloc_size (__VA_ARGS__))) #else #define __alloc_size(...)