[PATCH v1.1] __gconv_translit_find: Actually append ".so" to module name [BZ #17187]

Florian Weimer fweimer@redhat.com
Thu Aug 21 17:33:00 GMT 2014


On 07/21/2014 03:01 PM, Florian Weimer wrote:
> The previous code wrote the string after the terminating NUL character
> of the existing module name.  This had two effects: the ".so" extension
> was not actually visible in the module name string, and a NUL byte was
> written byond the end of the allocated buffer.
>
> I'm not sure how to add a functionality test for this.  The test suite
> does not show any changes in behavior.

The attached version of this patch is suitable for backporting and 
disables external module loading, rather than attempting to fix it.  The 
tests for the internal transliteration functionality still pass.

I would like to suggest to put this in master, and include the second, 
larger patch as a clean-up after the 2.20 release.

-- 
Florian Weimer / Red Hat Product Security
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-__gconv_translit_find-Disable-function-BZ-17187.patch
Type: text/x-patch
Size: 6123 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140821/ef3e034e/attachment.bin>


More information about the Libc-alpha mailing list