From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35221385701F; Mon, 21 Dec 2020 03:37:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35221385701F From: "siddhesh at sourceware dot org" To: glibc-bugs@sourceware.org Subject: [Bug locale/24973] iconv encounters segmentation fault when converting 0x00 0xfe in EUC-KR to UTF-8 Date: Mon, 21 Dec 2020 03:37:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: locale X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: siddhesh at sourceware dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.33 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: target_milestone bug_status resolution cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2020 03:37:02 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24973 Siddhesh Poyarekar changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.33 Status|NEW |RESOLVED Resolution|--- |FIXED CC| |siddhesh at sourceware dot= org --- Comment #1 from Siddhesh Poyarekar --- Fixed in master: https://sourceware.org/git/?p=3Dglibc.git;a=3Dcommit;h=3Dee7a3144c992280818= 1009b7b3e50e852fb4999b Author: Andreas Schwab Date: Mon Dec 21 08:56:43 2020 +0530 Fix buffer overrun in EUC-KR conversion module (bz #24973) The byte 0xfe as input to the EUC-KR conversion denotes a user-defined area and is not allowed. The from_euc_kr function used to skip two byt= es when told to skip over the unknown designation, potentially running over the buffer end. --=20 You are receiving this mail because: You are on the CC list for the bug.=