fortify-headers

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

commit de499b92ba1539dde59a8f788807950229d03897
parent 91db6f58998609a44fdd119d7faf0010ad28848c
Author: sin <sin@2f30.org>
Date:   Sat, 28 Feb 2015 20:21:34 +0000

Minor style fix

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

diff --git a/include/stdio.h b/include/stdio.h @@ -37,7 +37,7 @@ __fortify_vsnprintf(char *s, size_t n, const char *fmt, __builtin_va_list ap) #undef snprintf #define snprintf(s, n, fmt, ...) ({ \ - size_t _n = (n); \ + size_t _n = n; \ size_t bos = __builtin_object_size(s, 0); \ if (_n > bos) \ __builtin_trap(); \