diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-02-08 15:46:14 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-02-27 10:52:58 -0300 |
commit | 29951991f5db1001c059f8ed7afa2c359cdc7f44 (patch) | |
tree | 2559a4c5486e9986d502c538db21128373a4cc9f /string | |
parent | 7a7093615c1b7ac937b1af7b76d0008f8e1ca189 (diff) | |
download | glibc-29951991f5db1001c059f8ed7afa2c359cdc7f44.tar.gz glibc-29951991f5db1001c059f8ed7afa2c359cdc7f44.tar.xz glibc-29951991f5db1001c059f8ed7afa2c359cdc7f44.zip |
libio: Improve fortify with clang
It improve fortify checks for sprintf, vsprintf, vsnsprintf, fprintf, dprintf, asprintf, __asprintf, obstack_printf, gets, fgets, fgets_unlocked, fread, and fread_unlocked. The runtime checks have similar support coverage as with GCC. For function with variadic argument (sprintf, snprintf, fprintf, printf, dprintf, asprintf, __asprintf, obstack_printf) the fortify wrapper calls the va_arg version since clang does not support __va_arg_pack. Checked on aarch64, armhf, x86_64, and i686. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'string')
0 files changed, 0 insertions, 0 deletions