This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/7066] Probable buffer overrun in strtold()
- From: "nix at esperi dot org dot uk" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 4 Dec 2008 12:12:31 -0000
- Subject: [Bug libc/7066] Probable buffer overrun in strtold()
- References: <20081204004909.7066.nix@esperi.org.uk>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From nix at esperi dot org dot uk 2008-12-04 12:12 -------
Created an attachment (id=3090)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3090&action=view)
One-liner reproducing the crash
Backtrace with this one-liner, with glibc compiled with -fstack-protector-all:
Program received signal SIGABRT, Aborted.
0xb804a424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb804a424 in __kernel_vsyscall ()
#1 0x08054a4b in __stack_chk_fail () at stack_chk_fail.c:295
#2 0x0804ad96 in ____strtold_l_internal (nptr=0x80ad488 "42.", '0' <repeats 19
times>, "1", endptr=0x0, group=0, loc=0x80cb0a0) at ../stdlib/strtod_l.c:1571
#3 0x08048cb7 in strtold (nptr=0x80ad488 "42.", '0' <repeats 19 times>, "1",
endptr=0x0) at strtod.c:70
#4 0x08048255 in main (argc=1, argv=0xbfa47364) at strtold-crash.c:7
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7066
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.