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

Allen Bauer kylix_rd@hotmail.com
Thu Oct 19 11:16:00 GMT 2000


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



More information about the Libc-alpha mailing list