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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix freeing of initial dtv.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Schwidefsky wrote:

> testing with nptl on s390-64 revealed a bug in _dl_deallocate_tls. The
> dtv array may only be freed if it is not the initial dtv since the initial
> dtv is allocated by the dynamic linker and this "early" memory is
> not freeable. Why this does not crash i386 or s390-32 is a mystery.
> Most probably

Indeed, this is correct.  I've applied the patch.  Thanks,

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Y5vz2ijCOnn/RHQRAo+dAJ91XPzq9NvcGeTCmFWi7VOwEwD8FACfeQsS
8AN488bryIISvqqwFXTcID4=
=F8f2
-----END PGP SIGNATURE-----


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