diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-10-25 15:35:21 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-10-25 17:33:46 +0000 |
| commit | 175595ba6c5253e395c028e792787dffd2875910 (patch) | |
| tree | 9837a82fefb0ebdc77c3fa52213d3e3fdf6352ea /sys/dev/iavf/iavf_vc_iflib.c | |
| parent | e2979f4cbbf6546daa7ad9fd1cd544d22c286315 (diff) | |
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: d36d68161517 ("rtld dl_iterate_phdr(): dlpi_tls_data is wrong")
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/dev/iavf/iavf_vc_iflib.c')
0 files changed, 0 insertions, 0 deletions
