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

Florian Weimer fweimer@redhat.com
Mon Jul 21 13:01:00 GMT 2014


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.

-- 
Florian Weimer / Red Hat Product Security
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-__gconv_translit_find-Actually-append-.so-to-module-.patch
Type: text/x-patch
Size: 1118 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140721/c0a166a3/attachment.bin>


More information about the Libc-alpha mailing list