Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/star/files: star-1.5_alpha84-data-change-warn.patch digest-star-1.5_alpha84
Date: Wed, 12 Sep 2007 19:01:44
Message-Id: E1IVXF0-0003lB-66@stork.gentoo.org
1 pva 07/09/12 18:47:10
2
3 Added: star-1.5_alpha84-data-change-warn.patch
4 digest-star-1.5_alpha84
5 Log:
6 Version bump, ebuild cleanups, fixes security bug #189690. Thank Robert Buchholz <rbu AT gentoo.org> for report.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.1 app-arch/star/files/star-1.5_alpha84-data-change-warn.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/star/files/star-1.5_alpha84-data-change-warn.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/star/files/star-1.5_alpha84-data-change-warn.patch?rev=1.1&content-type=text/plain
14
15 Index: star-1.5_alpha84-data-change-warn.patch
16 ===================================================================
17 --- ./star/checkerr.c.orig 2007-09-12 14:22:33.000000000 +0400
18 +++ ./star/checkerr.c 2007-09-12 14:21:51.000000000 +0400
19 @@ -188,13 +188,10 @@
20 {
21 register char *p = eflag;
22 char *ef = _endword(eflag);
23 - char ec;
24 register struct eflags *ep;
25 register int slen;
26 register UInt32_t nflags = 0;
27
28 - ec = *ef;
29 - *ef = '\0';
30 do {
31 for (ep = eflags; ep->fname; ep++) {
32 slen = strlen(ep->fname);
33 @@ -208,13 +205,11 @@
34 if (ep->fname == NULL) {
35 if (doexit)
36 comerrno(EX_BAD, "Bad flag '%s'\n", p);
37 - *ef = ec; /* Restore old character */
38 return (0);
39 }
40 p = strchr(p, '|');
41 - } while (p && *p++ == '|');
42 + } while (p < ef && p && *p++ == '|');
43
44 - *ef = ec; /* Restore old character */
45 if ((nflags & ~(UInt32_t)(E_ABORT|E_WARN)) == 0) {
46 if (doexit)
47 comerrno(EX_BAD, "Bad error condition '%s'.\n", eflag);
48
49
50
51 1.1 app-arch/star/files/digest-star-1.5_alpha84
52
53 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/star/files/digest-star-1.5_alpha84?rev=1.1&view=markup
54 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/star/files/digest-star-1.5_alpha84?rev=1.1&content-type=text/plain
55
56 Index: digest-star-1.5_alpha84
57 ===================================================================
58 MD5 7b3860592468e46396fe34157f338d42 star-1.5a84.tar.bz2 813262
59 RMD160 fcb0679760e9f4f64f146ac1a41a28ca6175f8ef star-1.5a84.tar.bz2 813262
60 SHA256 874555cb63475a0fc582480481a82be49b7685dd92885744f5032d16cc2ca53b star-1.5a84.tar.bz2 813262
61
62
63
64 --
65 gentoo-commits@g.o mailing list