Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/glibc/2.7: 0050_all_glibc-2.7-sscanf-as-BZ5441.patch
Date: Mon, 10 Dec 2007 01:16:48
Message-Id: E1J1XGD-0000S5-It@stork.gentoo.org
1 vapier 07/12/10 01:16:41
2
3 Added: 0050_all_glibc-2.7-sscanf-as-BZ5441.patch
4 Log:
5 fix from upstream for #201646
6
7 Revision Changes Path
8 1.1 src/patchsets/glibc/2.7/0050_all_glibc-2.7-sscanf-as-BZ5441.patch
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/0050_all_glibc-2.7-sscanf-as-BZ5441.patch?rev=1.1&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/0050_all_glibc-2.7-sscanf-as-BZ5441.patch?rev=1.1&content-type=text/plain
12
13 Index: 0050_all_glibc-2.7-sscanf-as-BZ5441.patch
14 ===================================================================
15 http://bugs.gentoo.org/201646
16 http://sources.redhat.com/bugzilla/show_bug.cgi?id=5441
17
18 2007-12-07 Ulrich Drepper <drepper@××××××.com>
19
20 [BZ #5441]
21 * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free
22 structure, it's allocated with alloca.
23
24 Index: stdio-common/vfscanf.c
25 ===================================================================
26 RCS file: /cvs/glibc/libc/stdio-common/vfscanf.c,v
27 retrieving revision 1.127
28 retrieving revision 1.128
29 diff -u -p -r1.127 -r1.128
30 --- stdio-common/vfscanf.c 28 Oct 2007 08:40:36 -0000 1.127
31 +++ stdio-common/vfscanf.c 7 Dec 2007 16:40:58 -0000 1.128
32 @@ -2845,7 +2845,6 @@ _IO_vfscanf_internal (_IO_FILE *s, const
33 *p->ptrs[cnt] = NULL;
34 }
35 p = p->next;
36 - free (ptrs_to_free);
37 ptrs_to_free = p;
38 }
39 }
40
41
42
43 --
44 gentoo-commits@g.o mailing list