[Bug 856072]
Michael K. Edwards
m.k.edwards at gmail.com
Wed Oct 5 16:55:28 UTC 2011
The point is not that other code in libmozutils needs to call
getaddrinfo(); it doesn't. The point is that libraries that call
getaddrinfo() need to be linked against libmozutils, with the
appropriate --wrap flags, in order to ensure that their calls to
getaddrinfo() get rewritten as calls to __wrap_getaddrinfo(). Otherwise
they will get the wrong getaddrinfo() (the bionic one) when the library
is loaded via dlopen(). The only occurrence of the getaddrinfo() symbol
in the final set of binaries should be the one inside the implementation
of __wrap_getaddrinfo(); and the "official" way to achieve that is to
call __real_getaddrinfo() in the source code and let the linker rewrite
that to getaddrinfo().
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla Firefox.
https://bugs.launchpad.net/bugs/856072
Title:
Bionic domain name functions are not thread-safe on pre-3.0 Android
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/856072/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list