[krbdev.mit.edu #2197] New glibc threading interacts badly with

Ezra Peisach via RT rt-comment at krbdev.mit.edu
Thu Feb 5 11:48:49 EST 2004



If you are talking about redhat 9 - then you really need to make sure
you are using the latest glibc. If not, do not compile with shared libraries.

I discovered that there was some broken glibc 2.0 fopen interface
compatibility issues in glibc - which I finally got them to patch.  The
bug stems from the fact that they decided to have two incompatible file
structures in glibc. It would be ok - except that they decided to keep
an old (smaller) and a new (larger) structure around. The fopen code
would assume a pointer to the the new structure was sent in write past
the end of the old structures. Tickling the bug was sort of
strange. Depended on how you made a shared library, and the fopen had to
be present in the shared library as well.

So - which glibc?

glibc-2.3.2-27.9.7 has the stdio compatibilty fixes in them.

Ezra


More information about the krb5-bugs mailing list