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.)


>
> 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
function a loop goes through that list and decs the ref counts without
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.

----------------
Allen Bauer.
Delphi/C++Builder/Kylix IDE R&D Manager.
Delphi/C++Builder/Kylix Sr. Staff Engineer.


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