[PATCH] malloc: Fix malloc init order

Florian Weimer fweimer@redhat.com
Tue May 27 14:11:41 GMT 2025


* Wilco Dijkstra:

> __ptmalloc_init was called too early in __libc_early_init: it uses __libc_initial
> which is not set yet.  Fix this by moving initialization to the end of __libc_early_init.
>
> Passes regress, OK for commit?

Looks okay to me.

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

Thanks,
Florian



More information about the Libc-alpha mailing list