On 03/11/15 at 01:46P, Philip Guenther wrote:
> On Sun, 25 Oct 2015, Peter Hajdu wrote:
> > I try to give it one more attempt with a bit more description about the
> > bug.
> >
> > After calling dlclose in _dl_notify_unload_shlib_ group reference counts
>
in the memory and crashes during load.
This patch unloads all unused objects instead of following the closed
object's child and grpref list.
Best regards,
Peter Hajdu
Index: dlfcn.c
===
RCS file: /cvs/src/libexec/ld.so/dlfcn.c,v
more code duplication that I will deal with
providing my diff is ok.
You can use the following repo to reproduce the bug.
https://github.com/peterhajdu/ld_openbsd_bug
Thank you very much in advance,
Peter Hajdu
Index: dlfcn.c
===
RCS
Hi,
I found something that seems to be a bug in ld.so. If I load a
shared library with full path with dlopen, it does not check if the
library is already loaded. I was hoping someone can have a look at
it too, I might have missed something.
This is my first patch, I hope I did not make too