[PATCH 14/14] Fix UTF-16 surrogate handling.
Stefan Liebler
stli@linux.vnet.ibm.com
Thu Apr 7 14:35:00 GMT 2016
ping
On 03/31/2016 11:18 AM, Stefan Liebler wrote:
> ping
>
> On 03/22/2016 03:38 PM, Stefan Liebler wrote:
>> On 03/18/2016 02:04 PM, Stefan Liebler wrote:
>>> Is the previously attached test-case okay?
>>
>> Hi,
>> here is one further update regarding the new test "iconv/tst-iconv7.c".
>> If "make check" is executed directly after building without the
>> installation step, then <build-dir>/iconvdata/gconv-modules hasn't been
>> generated yet and the system gconv-modules-file/iconv-modules are used
>> instead - if available.
>> The test needs gconv-modules and the UTF-16|32 modules as prerequirement.
>> Thus I've moved it to iconvdata/bug-iconv12.c and added
>> the prerequirements in iconvdata/Makefile.
>>
>> Ok, to commit?
>>
>> ChangeLog:
>>
>> [BZ #19727]
>> * iconvdata/utf-16.c (BODY):
>> Report an error if first word is not a
>> valid high surrogate.
>> * iconvdata/utf-32.c (BODY):
>> Report an error if the value is in range
>> of an utf16 surrogate.
>> * iconv/gconv_simple.c (BODY): Likewise.
>> * iconvdata/bug-iconv12.c: New file.
>> * iconvdata/Makefile (tests): Add bug-iconv12.
>
>
More information about the Libc-alpha
mailing list