mirror of
git://git.musl-libc.org/musl
synced 2025-01-10 16:49:50 +00:00
aad50fcd79
__tls_get_addr should not be called with an invalid TLS module id of 0. in practice it probably "works", returning the DTV length as if it were a pointer, and the callback should probably not inspect dlpi_tls_data in this case, but it's likely that some real-world callbacks use a check on dlpi_tls_data being non-null, rather than on dlpi_tls_modid being nonzero, to conclude that the module has TLS. |
||
---|---|---|
.. | ||
dlstart.c | ||
dynlink.c |