Files
Konstantin Belousov 175595ba6c dl_iterate_phdr(3): do not return garbage for objects not using TLS
For objects without a TLS segment, tlsindex is zero. tls_get_addr_slow()
then reads dtv_slots[-1], which is dtv_size, and returns it as the TLS
address. Set dlpi_tls_data to NULL for such objects instead.

Fixes:	d36d681615 ("rtld dl_iterate_phdr(): dlpi_tls_data is wrong")
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2026-10-25 19:33:46 +02:00
..
2026-10-25 12:06:08 +00:00
2026-05-25 18:52:15 +02:00
…
2026-05-22 19:57:35 +02:00
2026-03-29 16:13:09 +00:00