glibc/iconvdata
Siddhesh Poyarekar 6e230d1183 Fix validation check when converting from ibm930 to utf
[BZ #14134]

When converting IBM930 code with iconv(), if IBM930 code which
includes invalid multibyte character "0xffff" is specified, then
iconv() segfaults. This is easy to see using the following command:

echo '0x0e 0x43 0x8c 0xff 0xff 0x43 0xbd 0x43 0xbd' | xxd -r |
	iconv -f IBM930 -t UTF-8
2012-06-06 18:41:55 +05:30
..
2007-08-21 14:43:18 +00:00
2011-05-27 08:35:44 -04:00
2011-05-21 11:33:05 -04:00
2008-05-21 22:45:28 +00:00
2012-05-11 19:24:00 +02:00
2006-04-25 17:47:32 +00:00