[Bug libc/14134] New: iconv() segfaults if the invalid multibyte character 0xffff is input when converting from IBM930
siddhesh at redhat dot com
sourceware-bugzilla@sourceware.org
Wed May 23 01:48:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14134
Bug #: 14134
Summary: iconv() segfaults if the invalid multibyte character
0xffff is input when converting from IBM930
Product: glibc
Version: unspecified
Status: NEW
Severity: critical
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: siddhesh@redhat.com
CC: drepper.fsp@gmail.com
Classification: Unclassified
Description of problem:
When converting IBM930 code with iconv(), if IBM930 code which includes invalid
multibyte character "0xffff" is specified, then iconv() segfaults.
Version-Release number of selected component (if applicable):
glibc-2.5-81.el5_8.2
How reproducible:
Always
Steps to Reproduce:
Run the following command:
echo '0x0e 0x43 0x8c 0xff 0xff 0x43 0xbd 0x43 0xbd' | xxd -r | iconv -f IBM930
-t UTF-8
Actual results:
Segfault
Expected results:
サiconv: illegal input sequence at position 3
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list