diff options
| author | jvoisin | 2024-10-10 01:20:07 +0200 |
|---|---|---|
| committer | jvoisin | 2024-10-10 01:51:34 +0200 |
| commit | c3b48c6b0bf501802295c85b1cf54275d6b74883 (patch) | |
| tree | df2289a83d7a4d2a5d2c29ff0dfb518db69f46eb /include/stdio.h | |
| parent | f8155f0b945c5cfb3600d7c146a5d86870ed09d2 (diff) | |
Disable snprintf/sprintf hardening for now2.3.2
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
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_ | |||
| 243 | #endif // __clang__ | 243 | #endif // __clang__ |
| 244 | 244 | ||
| 245 | 245 | ||
| 246 | #if 0 | ||
| 246 | #if __has_builtin(__builtin_va_arg_pack) | 247 | #if __has_builtin(__builtin_va_arg_pack) |
| 247 | 248 | ||
| 248 | /* clang is missing __builtin_va_arg_pack, so we cannot use these impls | 249 | /* 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, ...) | |||
| 356 | 357 | ||
| 357 | #pragma GCC diagnostic pop | 358 | #pragma GCC diagnostic pop |
| 358 | #endif /* __has_builtin(__builtin_va_arg_pack) */ | 359 | #endif /* __has_builtin(__builtin_va_arg_pack) */ |
| 360 | #endif | ||
| 359 | 361 | ||
| 360 | #ifdef __cplusplus | 362 | #ifdef __cplusplus |
| 361 | } | 363 | } |
