[PATCH] malloc: Perform full initialization before __malloc_check_init

DJ Delorie dj@redhat.com
Tue Sep 26 16:10:00 GMT 2017


Florian Weimer <fweimer@redhat.com> writes:
> +      /* Heap checking requires a valid top chunk, so perform full
> +	 initialization here.  */
> +      malloc_consolidate (&main_arena);

My original concern hasn't been addressed here, it's "tell the user why
malloc_consolidate() has anything to do with initialization".

s/here./here, which malloc_consolidate does/ is sufficient.



More information about the Libc-alpha mailing list