From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C085E386196C; Wed, 8 Jul 2020 16:03:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C085E386196C From: "arjun.is at lostca dot se" To: glibc-bugs@sourceware.org Subject: [Bug locale/19519] iconv(1) with -c option hangs on illegal multi-byte sequences (CVE-2016-10228) Date: Wed, 08 Jul 2020 16:03:07 +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.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arjun.is at lostca dot se X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: arjun.is at lostca dot se X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: 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: Wed, 08 Jul 2020 16:03:07 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D19519 --- Comment #17 from Arjun Shankar --- The problem causing some of these hangs was that when multiple suffixes were passed, only the first one was taken into account. i.e. passing "-t US-ASCII//TRANSLIT//IGNORE" was not actually ignoring errors like it should. This was a problem with the front-end and not a converter (any specific converter bug needs to be addressed separately). The commit I mentioned in = my earlier comment fixed the problem with parsing suffixes in the front end. The commit fixed a rather large (>100) set of hangs due to this option pars= ing bug, and includes tests for them. --=20 You are receiving this mail because: You are on the CC list for the bug.=