dlmopen in LD_PRELOAD

Florian Weimer fweimer@redhat.com
Thu Jul 4 13:22:00 GMT 2019


* Baojun Wang:

> Yes LD_PRELOAD was set in execvpe. I tried on a newer platform (Debian
> buster) and also couldn't reproduce any crash, will update to you later.

I see.  It turns out that Fedora's glibc has a downstream-only fix for
that:

<https://src.fedoraproject.org/rpms/glibc/blob/f30/f/glibc-fedora-__libc_multiple_libcs.patch>

I ended up at this patch for a completely different reason yesterday.
Maybe I can finally upstream a different version of it.

Thanks,
Florian



More information about the Libc-help mailing list