Hello community, here is the log from the commit of package glibc for openSUSE:Factory checked in at 2011-12-02 09:26:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glibc (Old) and /work/SRC/openSUSE:Factory/.glibc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc", Maintainer is "m...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/glibc/glibc.changes 2011-11-25 14:56:58.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.glibc.new/glibc.changes 2011-12-02 09:26:52.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Nov 29 03:09:56 UTC 2011 - r...@wi.rr.com + +- fix printf with many args and printf arg specifiers (bnc#733140) + +------------------------------------------------------------------- New: ---- glibc-2.14-32args-printf.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glibc.spec ++++++ --- /var/tmp/diff_new_pack.5KJFnU/_old 2011-12-02 09:26:57.000000000 +0100 +++ /var/tmp/diff_new_pack.5KJFnU/_new 2011-12-02 09:26:57.000000000 +0100 @@ -223,6 +223,8 @@ Patch83: glibc-arm-clone-unwind-fix.diff # PATCH-FIX-OPENSUSE avoid false positive warning that triggers brp postcheck fail Patch84: nscd-avoid-gcc-warning.diff +# PATCH-FIX-OPENSUSE fix printf with > 32 args and printf specifiers bnc#733140, bso#13446 +Patch85: glibc-2.14-32args-printf.patch %description The GNU C Library provides the most important standard libraries used @@ -463,6 +465,7 @@ %patch74 -p1 %patch75 -p1 %patch84 +%patch85 # # Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed! ++++++ glibc-2.14-32args-printf.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. # # bnc#733140 # # Rich Coe (r...@wi.rr.com) # --- stdio-common/vfprintf.c.orig 2011-11-28 11:53:32.937976831 -0600 +++ stdio-common/vfprintf.c 2011-11-28 16:07:35.546839533 -0600 @@ -1683,8 +1683,10 @@ do_positional: { /* Extend the array of format specifiers. */ struct printf_spec *old = specs; - specs = extend_alloca (specs, nspecs_max, + size_t nsize = nspecs_max; + specs = extend_alloca (specs, nsize, 2 * nspecs_max * sizeof (*specs)); + nspecs_max = 2 * nspecs_max; /* Copy the old array's elements to the new space. */ memmove (specs, old, nspecs * sizeof (struct printf_spec)); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org