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-01-09 11:28:43 -05:00
…
…
…
2025-08-08 10:30:16 +01:00
2025-05-02 21:08:09 +03:00
2025-05-02 21:08:09 +03:00
2026-06-29 23:33:12 +03:00