[PATCH] BZ#13691: Fix a bug when converting strings with 1 character using TCVN5712-1
Carlos O'Donell
carlos@systemhalted.org
Fri Mar 30 02:29:00 GMT 2012
On Wed, Mar 28, 2012 at 2:41 PM, Tulio Magno Quites Machado Filho
<tuliom@linux.vnet.ibm.com> wrote:
> It isn't necessary to buffer the last character of strings. This can cause a
> bug with strings that have 1 character between 0x0041 and 0x01b0.
>
> 2012-03-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
>
> [BZ #13691]
> * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
> with only 1 character between 0x0041 and 0x01b0.
> * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
> * wcsmbs/tst-mbsnrtowcs.c: New file.
This looks good to me. Please check it in.
In the process of review I learned about UCS4, TCVN 5712-1 and a how
iconv/loop.c works :-)
Cheers,
Carlos.
More information about the Libc-alpha
mailing list