[PATCH 13/14] Fix ucs4le_internal_loop in error case.

Stefan Liebler stli@linux.vnet.ibm.com
Thu Feb 25 09:00:00 GMT 2016


On 02/23/2016 06:41 PM, Joseph Myers wrote:
> If this is user-visible in a release, there should be a bug filed in
> Bugzilla (if there isn't one already open), and a testcase added to the
> testsuite.
>
okay.

I've filed the bug
"Bug 19726 - Converting UCS4LE to INTERNAL with iconv() does not update 
pointers and lengths in error-case."
(https://sourceware.org/bugzilla/show_bug.cgi?id=19726)

This patch also adds a new testcase for this issue.
The new test was tested on a s390, power, intel machine.

ChangeLog:

	[BZ #19726]
	* iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
	outptrp in case of an illegal input.
	* iconv/tst-iconv6.c: New file.
	* iconv/Makefile (tests): Add tst-iconv6.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fix-ucs4le_internal_loop-in-error-case.-BZ-19726.patch
Type: text/x-patch
Size: 4140 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160225/bd33d7df/attachment.bin>


More information about the Libc-alpha mailing list