glibc/assert
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
..
__assert.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
__libc_assert_fail.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
assert-perr.c assert: Remove the use of %n from __assert_fail_base (BZ #32456) 2025-01-02 10:19:42 -03:00
assert.c assert: Remove the use of %n from __assert_fail_base (BZ #32456) 2025-01-02 10:19:42 -03:00
assert.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Depend
Makefile Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-assert-2.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-assert-perr.c tests: replace fgets by xfgets 2023-06-13 19:59:08 -04:00
test-assert.c tests: replace fgets by xfgets 2023-06-13 19:59:08 -04:00
tst-assert-c++.cc Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-assert-g++.cc Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Versions