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/13446] crash in vfprintf with more than 64 format args and format specifiers


http://sourceware.org/bugzilla/show_bug.cgi?id=13446

--- Comment #1 from Rich Coe <rcoe at wi dot rr.com> 2011-11-29 03:39:22 UTC ---
Created attachment 6078
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6078
patch

# patch to fix printf when register_printf_function is in use and the format to
# printf contains more than 64 elements.
#
# extend_alloca modifies nspecs_max (2nd arg) with the size of the space, not
the 
# number of elements.  Use a temporary to store the return value.  Explicitly
set the correct size.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]