This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5486] nl_langinfo() returns invalid pointer instead of expected empty string
- From: "roland at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 15 Dec 2007 11:32:17 -0000
- Subject: [Bug libc/5486] nl_langinfo() returns invalid pointer instead of expected empty string
- References: <20071213225007.5486.bugs@daylessday.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From roland at gnu dot org 2007-12-15 11:32 -------
Calling nl_langinfo with an invalid nl_item argument invokes undefined behavior,
which is what you are getting. All the standards make it undefined behavior to
call nl_langinfo in this way.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5486
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.