This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 14/14] Fix UTF-16 surrogate handling.


On 03/31/2016 11:18 AM, Stefan Liebler wrote:

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?

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?


     [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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]