1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-11-24 12:21:09 +03:00
Files
glibc/assert/assert-perr.c
Adhemerval Zanella 6f0ea84f17 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>
2025-01-02 10:19:42 -03:00

1.4 KiB