This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/19519] iconv(1) with -c option hangs on illegal multi-byte sequences (CVE-2016-10228)
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 08 May 2017 05:25:19 +0000
- Subject: [Bug locale/19519] iconv(1) with -c option hangs on illegal multi-byte sequences (CVE-2016-10228)
- Auto-submitted: auto-generated
- References: <bug-19519-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19519
--- Comment #10 from Florian Weimer <fweimer at redhat dot com> ---
Perhaps we should do the following:
(1) -c should add //IGNORE to the conversions if not already there.
(2) The conversion functions should be adjusted to make progress in //IGNORE.
See bug 13541.
(3) If the iconv function does not make progress, skip over individual input
bytes. With (2), this is only used as a last resort, to avoid a hang.
We can probably implement (1) and (3) for this bug. (2) is mostly a
charset-specific quality issue after that. Even then, the scope of this bug is
a bit larger than what I expected.
--
You are receiving this mail because:
You are on the CC list for the bug.