From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31990 invoked by alias); 23 May 2012 01:48:29 -0000 Received: (qmail 31916 invoked by uid 22791); 23 May 2012 01:48:28 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_XB,TW_XF,TW_XX X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 May 2012 01:48:15 +0000 From: "siddhesh at redhat dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/14134] New: iconv() segfaults if the invalid multibyte character 0xffff is input when converting from IBM930 Date: Wed, 23 May 2012 01:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: siddhesh at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00280.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D14134 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 inv= alid 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 IBM= 930 -t UTF-8 Actual results: Segfault Expected results: =E3=82=B5iconv: illegal input sequence at position 3 --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.