This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5277] New: Some conversions to iso-2022-jp can hang iconv
- From: "bdonlan at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 Nov 2007 00:50:42 -0000
- Subject: [Bug libc/5277] New: Some conversions to iso-2022-jp can hang iconv
- Reply-to: sourceware-bugzilla at sourceware dot org
Some conversions from UTF-8 to ISO-2022-JP can hang iconv in an infinite loop.
This issue seems sensitive to a number of factors, including whether
transliterate mode is used, the exact input string, the system locale (!), and
whether there is sufficient output space. I will attach a sample program which
demonstrates this issue shortly.
I have confirmed this issue on gentoo and debian distributions of libc. I tried
to confirm it with CVS, but the build failed with this error:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: error:
*** It seems that you're using an old `crypt' add-on. crypt is now
*** part of glibc and using the old add-on will not work with this
*** release. Start again with fresh sources and without the old
*** `crypt' add-on.
Since this is a clean checkout from cvs, I'm not sure what it wants me to do here.
--
Summary: Some conversions to iso-2022-jp can hang iconv
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: bdonlan at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5277
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.