From c3b48c6b0bf501802295c85b1cf54275d6b74883 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 10 Oct 2024 01:20:07 +0200 Subject: Disable snprintf/sprintf hardening for now --- include/stdio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/stdio.h b/include/stdio.h index 3e31f29..200a176 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -243,6 +243,7 @@ _FORTIFY_FN(vasprintf) int vasprintf(char **strp, const char *fmt, __builtin_va_ #endif // __clang__ +#if 0 #if __has_builtin(__builtin_va_arg_pack) /* clang is missing __builtin_va_arg_pack, so we cannot use these impls @@ -356,6 +357,7 @@ _FORTIFY_FN(asprintf) int asprintf(char **strp, const char *fmt, ...) #pragma GCC diagnostic pop #endif /* __has_builtin(__builtin_va_arg_pack) */ +#endif #ifdef __cplusplus } -- cgit v1.3