public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14134] New: iconv() segfaults if the invalid multibyte character 0xffff is input when converting from IBM930
@ 2012-05-23  1:48 siddhesh at redhat dot com
  2012-05-23  1:50 ` [Bug libc/14134] " siddhesh at redhat dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: siddhesh at redhat dot com @ 2012-05-23  1:48 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-02-23 15:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-23  1:48 [Bug libc/14134] New: iconv() segfaults if the invalid multibyte character 0xffff is input when converting from IBM930 siddhesh at redhat dot com
2012-05-23  1:50 ` [Bug libc/14134] " siddhesh at redhat dot com
2012-06-06 13:25 ` siddhesh at redhat dot com
2014-06-13 14:05 ` fweimer at redhat dot com
2014-08-29  9:57 ` fweimer at redhat dot com
2014-08-29  9:59 ` fweimer at redhat dot com
2014-09-02  5:40 ` [Bug libc/14134] iconv() segfaults if the invalid multibyte character 0xffff is input when converting from IBM930 (CVE-2012-6656) fweimer at redhat dot com
2014-09-03 17:52 ` cvs-commit at gcc dot gnu.org
2015-01-16 16:59 ` cvs-commit at gcc dot gnu.org
2015-01-16 17:03 ` cvs-commit at gcc dot gnu.org
2015-01-29 18:50 ` cvs-commit at gcc dot gnu.org
2015-02-23 14:23 ` cvs-commit at gcc dot gnu.org
2015-02-23 15:03 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).