[PATCH] Consolidate link map sorting

Florian Weimer fweimer@redhat.com
Fri Nov 24 12:17:00 GMT 2017


On 11/13/2017 04:49 PM, Andreas Schwab wrote:
> +  /* We can skip looking for the binary itself which is at the front of
> +     the search list.  */
> +  _dl_sort_maps (&l_initfini[1], nlist - 1, NULL, false);

I'm still reviewing this.  Sorry for taking so long.  The following 
question isn't related to the cleanup as such.

Is the comment really correct?  I wonder if skipping the binary itself 
here causes this bug:

   <https://sourceware.org/bugzilla/show_bug.cgi?id=20972>

Thanks,
Florian



More information about the Libc-alpha mailing list