[PATCH] __gconv_translit_find: Actually append ".so" to module name [BZ #17187]
Florian Weimer
fweimer@redhat.com
Fri Aug 8 15:34:00 GMT 2014
On 07/29/2014 01:02 AM, Roland McGrath wrote:
> The fix itself looks fine. It should certainly have a test first if at all
> possible, though.
This entire functionality has been crippled from the beginning, it seems:
<https://www.sourceware.org/ml/libc-alpha/2005-12/msg00091.html>
I couldn't find anything which defines a gconv_trans_context symbol, not
within glibc, and neither as a third-party module.
Consequently, the attached patch removes gconv transliteration modules,
changing the gconv ABI along the way. Some gconv conversion modules now
call __gconv_transliterate directly, and not through a function pointer
obtained through internal gconv data structures. There's a hidden alias
for a PLT-less call from the internal gconv modules.
The previous patch is considerably less invasive and better for
backporting. You might also want to throw a wrench into open_translit
in iconv/gconv_trans.c to prevent it from attempting to load any
modules, just to be on the safe side.
--
Florian Weimer / Red Hat Product Security
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gconv.patch
Type: text/x-patch
Size: 27700 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140808/914cdc59/attachment.bin>
More information about the Libc-alpha
mailing list