aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/gethostid.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-12-30 16:36:18 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-01-02 10:19:42 -0300
commit6f0ea84f17581d13ad668adbc181c37141d389b8 (patch)
tree01ccc8d91186c45eb27bfc87a4fc8cfb224c2577 /sysdeps/unix/sysv/linux/gethostid.c
parent37d0a3e55a0d92eaf5c7892eb49abfc041eb0b65 (diff)
downloadglibc-6f0ea84f17581d13ad668adbc181c37141d389b8.zip
glibc-6f0ea84f17581d13ad668adbc181c37141d389b8.tar.gz
glibc-6f0ea84f17581d13ad668adbc181c37141d389b8.tar.bz2
assert: Remove the use of %n from __assert_fail_base (BZ #32456)
The require size for mmap can be inferred from __vasprintf return value. It also fixes tst-assert-2 when building with --enable-fortify, where even if the format is not translated, __readonly_area fails because malloc can not be used. Checked on aarch64-linux-gnu. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/gethostid.c')
0 files changed, 0 insertions, 0 deletions