This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4514] printf_unknown calculates work_buffer size incorrectly
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Jul 2007 15:23:49 -0000
- Subject: [Bug libc/4514] printf_unknown calculates work_buffer size incorrectly
- References: <20070516205925.4514.steve.hawkes@motorola.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2007-07-12 15:23 -------
Subject: Bug 4514
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_5-branch
Changes by: jakub@sourceware.org 2007-07-12 15:23:38
Modified files:
. : ChangeLog
stdio-common : tst-sprintf.c vfprintf.c
Log message:
2007-05-21 Jakub Jelinek <jakub@redhat.com>
[BZ #4514]
* stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable,
reinitialize workend at the start of each do_positional format spec
loop, free workstart before do_positional loops.
(printf_unknown): Fix size of work_buffer.
* stdio-common/tst-sprintf.c (main): Add 3 new testcases.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.10362.2.85&r2=1.10362.2.86
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdio-common/tst-sprintf.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.3&r2=1.3.8.1
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdio-common/vfprintf.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.134.2.2&r2=1.134.2.3
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4514
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.