This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5950] New: strtold_l() segfaults on various distribution of linux
- From: "boringuy at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 17 Mar 2008 16:32:31 -0000
- Subject: [Bug libc/5950] New: strtold_l() segfaults on various distribution of linux
- Reply-to: sourceware-bugzilla at sourceware dot org
I have tried glibc 2.5, 2.6 and 2.7 (none of them are available to select above
in the bug form). I have tried on Gentoo, Arch and Debian etch. I have tried on
64-bit and 32-bit machines. They all segfaults. Here is the test case:
#define _GNU_SOURCE 1
#include <xlocale.h>
#include <stdlib.h>
int main() {
__locale_t x = NULL;
strtold_l("1234.23423", NULL, x);
return 0;
}
Compile with this:
gcc -Wall -g -O2 -o test test.c
I have tried gcc3 and gcc4 and had the same result.
--
Summary: strtold_l() segfaults on various distribution of linux
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: boringuy at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5950
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.