[PATCH] malloc: Perform full initialization before __malloc_check_init

Florian Weimer fweimer@redhat.com
Wed Sep 20 12:43:00 GMT 2017


On 09/20/2017 02:27 PM, Florian Weimer wrote:
> Previously, initialization was implicitly performed by mallopt,
> but commit ac3ed168d0c0b2b702319ac0db72c9b475a8c72e (malloc:
> Remove check_action variable) removed the mallopt call.
> 
> 2017-09-20  Florian Weimer<fweimer@redhat.com>
> 
> 	* malloc/arena.c [!HAVE_TUNABLES] (ptmalloc_init): Call
> 	malloc_consolidate before __malloc_check_init.

I forgot the bug reference:

   https://sourceware.org/bugzilla/show_bug.cgi?id=22159

Fixed locally.

Thanks,
Florian



More information about the Libc-alpha mailing list