This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Reference counting bug in ld-linux.so.2 (2.1.2, 2.1.3, 2.1.9x, et. al.)


On Thu, Oct 19, 2000 at 11:15:38AM -0700, Allen Bauer wrote:
> >
> > Please verify it first.
> 
> Your patch seems to fix the problem, however I have a question about it.
> The patch will only dec the reference count on dependency shared objects
> that were themselves loaded (l_type == lt_loaded), however later on in that

This check may not be necessary.

> function a loop goes through that list and decs the ref counts without

I don't think they are the same list. One is map->l_initfini and
the other is map->l_searchlist.r_list. Ulrich, are they the same list?
	    

> regard to whether or not they were lt_loaded.  For consistency, shouldn't
> that test be removed?  I'm going to give it a try here, but I'd like your
> thoughts in this.
> 

H.J.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]