This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5043] iconv_open() should not crash on too long codepage arguments
- From: "pasky at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Sep 2007 19:23:11 -0000
- Subject: [Bug libc/5043] iconv_open() should not crash on too long codepage arguments
- References: <20070918150522.5043.pasky@suse.cz>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pasky at suse dot cz 2007-09-21 19:23 -------
But does it make sense to use that instead of simple size check? It avoids an
arbitrary limit, but all of these strings ought to be short (maybe the limit
should be 128 instead of 64, just to be safe) and the code in iconvopen() would
get much uglier with basically useless malloc() casing.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5043
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.