This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13138] scanf crashes on very long numbers


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]