This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15854] strtod should avoid calling strlen
- From: "neleai at seznam dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 24 Aug 2013 07:42:41 +0000
- Subject: [Bug libc/15854] strtod should avoid calling strlen
- Auto-submitted: auto-generated
- References: <bug-15854-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15854
--- Comment #4 from Ondrej Bilka <neleai at seznam dot cz> ---
On Tue, Aug 20, 2013 at 07:29:21AM +0000, emogenet at gmail dot com wrote:
> http://sourceware.org/bugzilla/show_bug.cgi?id=15854
>
> --- Comment #2 from emogenet at gmail dot com ---
> You are correct, the call tp strlen in strtod is not a problem. I
> incrorectly assumed
> it was calling strlen on the whole buffer because sscanf does exhibit the
> problem I
> describe, but as it turns out, the problem is inherent to sscanf, and
> strtod works fine.
>
And could you provide sscanf testcase as separate bug report?
--
You are receiving this mail because:
You are on the CC list for the bug.