This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2569] utf-16 iconv module breaks programs
- From: "thkala at softlab dot ece dot ntua dot gr" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 25 Apr 2006 11:54:29 -0000
- Subject: [Bug libc/2569] utf-16 iconv module breaks programs
- References: <20060413132726.2569.maestromae@kateos.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From thkala at softlab dot ece dot ntua dot gr 2006-04-25 11:54 -------
Ah, I managed to reproduce this with something much simpler than samba :-) :
#include <iconv.h>
int main() {
iconv_t cd0, cd1;
cd0 = iconv_open("ISO-8859-7", "UTF-16LE");
cd1 = iconv_open("ISO-8859-7", "UTF-16LE");
iconv_close(cd0);
iconv_close(cd1);
return 0;
}
It seems that opening two identical conversion descriptors is what triggers the
error. Is there any reason why two identical descriptors should not be allowed ?
Therefore I think that this is a glibc bug, after all. Perhaps reopening it is
in order ?
Regards,
Theodoros Kalamatianos
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2569
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.