[PATCH v2 2/2] assert: Remove the use of %n from __assert_fail_base (BZ #32456)

Florian Weimer fweimer@redhat.com
Thu Jan 2 09:44:59 GMT 2025


* Adhemerval Zanella:

> 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.

This patch looks okay to me.

Reviewed-by: Florian Weimer <fweimer@redhat.com>

Thanks,
Florian



More information about the Libc-alpha mailing list