This is the mail archive of the glibc-bugs@sourceware.org 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]

[Bug libc/14134] New: iconv() segfaults if the invalid multibyte character 0xffff is input when converting from IBM930


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.


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