fortify-headers

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

commit b4a9df1a083cd519005895e81433a685cde3fc34
parent e2a76a9502415f2bbbc83d634afb4991da2ea960
Author: sin <sin@2f30.org>
Date:   Wed, 28 Jan 2015 16:57:38 +0000

Use __builtin_va_list

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

diff --git a/include/stdio.h b/include/stdio.h @@ -9,7 +9,7 @@ static inline __attribute__ ((always_inline)) __attribute__ ((__format__ (printf, 3, 0))) __attribute__ ((__nonnull__ (3))) -int __fortify_vsnprintf(char *__restrict s, size_t n, const char *__restrict fmt, __va_list ap) +int __fortify_vsnprintf(char *__restrict s, size_t n, const char *__restrict fmt, __builtin_va_list ap) { size_t bos = __builtin_object_size(s, 0);