This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13138] scanf crashes on very long numbers
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 04 Mar 2015 18:52:02 +0000
- Subject: [Bug libc/13138] scanf crashes on very long numbers
- Auto-submitted: auto-generated
- References: <bug-13138-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=13138
--- Comment #8 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Andreas Schwab from comment #7)
> Follow-up fix: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=20b38e0
I think this is just a performance fix because the buffer is populated by one
character at a time, so __libc_use_alloca is always true on the first buffer
extension, and then we are in the use_malloc case.
--
You are receiving this mail because:
You are on the CC list for the bug.