1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-31 22:10:34 +03:00
Files
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
..
2011-05-27 08:35:44 -04:00
2011-05-21 11:33:05 -04:00
2012-05-11 19:24:00 +02:00