summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-02-24 08:52:55 +0000
committerJustin Lecher <jlec@gentoo.org>2015-02-24 08:52:55 +0000
commit14b60f0035bcbbe0a06434a5265f2841f4637c1e (patch)
tree4b5316af781f78c74bcc9e44162de1bc56738ed2 /x11-misc
parentStable for alpha, wrt bug #536512 (diff)
downloadhistorical-14b60f0035bcbbe0a06434a5265f2841f4637c1e.tar.gz
historical-14b60f0035bcbbe0a06434a5265f2841f4637c1e.tar.bz2
historical-14b60f0035bcbbe0a06434a5265f2841f4637c1e.zip
Fix for format-security, #541212
Package-Manager: portage-2.2.17/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/viewglob/ChangeLog6
-rw-r--r--x11-misc/viewglob/Manifest33
-rw-r--r--x11-misc/viewglob/files/viewglob-2.0.4-format-security.patch36
-rw-r--r--x11-misc/viewglob/viewglob-2.0.4-r1.ebuild3
4 files changed, 60 insertions, 18 deletions
diff --git a/x11-misc/viewglob/ChangeLog b/x11-misc/viewglob/ChangeLog
index 7318433cb242..9892e51e4f46 100644
--- a/x11-misc/viewglob/ChangeLog
+++ b/x11-misc/viewglob/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/viewglob
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/viewglob/ChangeLog,v 1.20 2015/02/20 14:56:42 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/viewglob/ChangeLog,v 1.21 2015/02/24 08:52:54 jlec Exp $
+
+ 24 Feb 2015; Justin Lecher <jlec@gentoo.org>
+ +files/viewglob-2.0.4-format-security.patch, viewglob-2.0.4-r1.ebuild:
+ Fix for format-security, #541212
20 Feb 2015; Justin Lecher <jlec@gentoo.org> viewglob-2.0.4-r1.ebuild,
viewglob-2.0.4.ebuild:
diff --git a/x11-misc/viewglob/Manifest b/x11-misc/viewglob/Manifest
index 7665d07d0528..904c9b532c17 100644
--- a/x11-misc/viewglob/Manifest
+++ b/x11-misc/viewglob/Manifest
@@ -2,28 +2,29 @@
Hash: SHA512
AUX README.gentoo 550 SHA256 a701eba1b4d39015f3184bd9d0f43318af2ccadbfc3113554fe0853dd646c8d5 SHA512 93a0a08cc7e3c612c78aeed2794ec66141aebe3be974605282e52d3adea48c79fae0a16bc427b2e80a83dc5914f009bb9aa7a241142d4976085c56768332fd0c WHIRLPOOL e3f8c4e561fd039f9c12862fa048bc7edcbfe986173e65570a31bafccc3e80977d2595c3fc6410c4449c5e70da3ff400b2851d16d23775d1dc3a5ebef2882b38
+AUX viewglob-2.0.4-format-security.patch 1112 SHA256 dbc1224c0934b3165cbb18084ad3431599c0ac5094d737295aa8eb25f6961efa SHA512 1273b51c4a4bf67c53630965d641a95d30916026e8307878335bac95cb1982c3d3705954a3caa600eef27b41c8319131fd00ac8fae5fc85707be90409e064945 WHIRLPOOL 590a095798ae88b55b6558c08de005d2ed9378a41fede3fc97cf0635222319196132708d5ea5a96e4dc4a14b21b6a4ad15632b9c9eaaa9cad49dd8d705b70be4
AUX viewglob-2.0.4-underlinking.patch 5015 SHA256 12fa5f890a386590fe0baf8b3148e10fb666d8bcff67c97d1864e179cf8e637b SHA512 3dacc19e362bf5e69348eff097daf55c25bc4b9d3afe589ad49f28f01394da29f365708a15ce4c662918daefed95cb059b9d45d44b8269118812d5945a2997ee WHIRLPOOL f91bcfd6b4449641dbe337e8e979db667f2b5be335cd9f9f2c0e3563d4dcb46156daf2d71e57cc6d686b4e6ba2556b9fcd62895b1bbfb265bc1a87923ca9bd18
DIST viewglob-2.0.4.tar.gz 324752 SHA256 69ef6c62de26b2fad82ddff3fcc72e15ddf7eed7047492218f7c6387c0e7c6f4 SHA512 95fb5ef6dc412804cbff6a961ec08bf8e114eefb9ea5430aa1be2f8b2bcbb7e76ab8392e31148d4275debd6f4cada81d1ebfb08a741b8a579f749efdb8f7adb4 WHIRLPOOL e22d237e736283027991a9e2c5bf61bf275b61a34ff3f6b645d46bb69fe2c524f14b07820e03cec526b2268e0ad88c81f9b82b299df253b79d64f1e0ffcb8979
-EBUILD viewglob-2.0.4-r1.ebuild 802 SHA256 3b6d6df3136b17ee6897d6bd19d87ce7df50c9edb56be0cb25d5140fc37a8f45 SHA512 6430cef4146be1ff3d04b2a5fbd19282d7ad39b3c5e96d7ab362a47a80d6243fffbb2fa5e60fa9809f876614804d670f3913047e54f927d1d4051255dd1b9eb2 WHIRLPOOL ff5c5be0fae5034464a072b5bbd9652e1180da03f48e5b868a56910f880e24f789dff4ee566dcf309c2707bc276811715e820d8cd736f522aace13dc2755a5d8
+EBUILD viewglob-2.0.4-r1.ebuild 844 SHA256 0a9f967cc2eb9717fbd26520687bdacaecd31edfb8c31a15bacd34356034a1a0 SHA512 365f66136cd9a2c0a1a718c01014e3273bcbd5648f09faebddb878ec9899d4c5eafeec8fc67bb80438e59b1a10f6069edea7261ed19dd8d824fb9c113b7ea00e WHIRLPOOL 2aaae279f83deac75cd3df330bf9d49c0669324ea9204013ac6e21ce3312b69dd9dd30013f0bc28d36d4b27343cd5b3fe3bad4bf6417e3af08fc509ff8f3e7b8
EBUILD viewglob-2.0.4.ebuild 1471 SHA256 a5d7fcd90eea839b65f0a3b9ab6964fcba939fe980550f394f7d6791dbe27dc5 SHA512 dc99e1623c5addb5b0da32c3787c71aae69db4f6878a274a88dce6a86c46512801552a41037656158554c8a1b14f3aad009584a29ea8623c4d348cbeea4d4de4 WHIRLPOOL 0aee1747eab1e4ce5bfb3961b0fffb2e8479cf19ab5d6386c4316ecf4086b41e3e506785c1bcb899adb43ce3661b9e1673ad001ad1e8d97bce11d0acbc38853b
-MISC ChangeLog 2640 SHA256 cdfd07590afaba18f65deffa4d45acbf033055121d23c763db5ae14cb3d743f2 SHA512 7e8304f274b9ac299e81c99ad811255d334988a7bfb704d34fffc03c505c2f966b7752c6e94a4a833030747deac849ff4493e2e27775b4643807e8a28af53f3c WHIRLPOOL 7c4e9ed9ea4f58d02e79831c0509598aff575c397e18bb3421fdc5bd4732a267512a7d278c885a8f6d302643329e6eeaaece4760b0c4914c9109a8bca39b338f
+MISC ChangeLog 2796 SHA256 7663569981c8af0af4f3632df60283fc99a8f89a4bece33458a7cccdadb9cd14 SHA512 4cc89e479b4c42a18acb931b0aa340c570e5e2efa36526a4948df5b53f790d54b63162f4cc31c0f758bbea2f5d4561ce23639effa18ec9821f88e4ee4b195748 WHIRLPOOL f0d99569e65404798a6b060b29d889f52859868f1acd9430414552f6c1a25d94f0b3136cc15f75fa051f505bd1bb79eca00774b30e22964eecdf0ca9b5f96e30
MISC metadata.xml 554 SHA256 cc19ed31cb2d3028c527ba525407c0e2fbf99d9bbe30e477f26c9c042cc476ea SHA512 b12396bbea47b2a7a4a1a19023415b56483010a1023e6c03e94d4e143a83376a0cfe872bfb39998272d4d3f4f8544417ae9d846556e53474df9983e9a5602ac3 WHIRLPOOL 1edbe13240a40b2475892cf55eaae41d17d6f5a535c7b1230a8566edc1923592d548b97fa5682d06a9a3664bcc209c366e477106d9ce563b9f8bae9bbea287da
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
-iQJ8BAEBCgBmBQJU50srXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCgBmBQJU7DvnXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
-OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirFhUP/AiQeCsrZG3NPOtS5u5fQNi0
-jEUi1bnyGZ9hhpcWLVQWtYOhzIgzlAFV2BSJhvdYr/6tdg/w837fGRqXqswsOD2u
-JArV9+HQzks21fKmYxg5tPVdYMNBEweMW21TTTwbZTt2P+1LYV09qwvd6IxTp2MC
-fnhhGR6ODPz/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6yE6rQt4rKXCcwV50B7U2MvEV+lywB0xe0Xp2xLzPqFic75/se4GTrMgq3v6L
+wfGReFUnQHsF3lMXJAvaCSlt9YrHfCazEERWWTBGYfpmxiaiJixM+vUMEFEScPUA
+FFe1ENNCa/abaGzhqjthmxhtfYF7ctVdQPqhw0bO/vtfyfyoXkKT3N3iMcFltDwQ
+Bahquqce3ZWciKX8MSnK
+=ol4v
-----END PGP SIGNATURE-----
diff --git a/x11-misc/viewglob/files/viewglob-2.0.4-format-security.patch b/x11-misc/viewglob/files/viewglob-2.0.4-format-security.patch
new file mode 100644
index 000000000000..98490e3836c9
--- /dev/null
+++ b/x11-misc/viewglob/files/viewglob-2.0.4-format-security.patch
@@ -0,0 +1,36 @@
+ common/syslogging.c | 2 +-
+ vgseer/vgseer.c | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/common/syslogging.c b/common/syslogging.c
+index dcb7106..df0b537 100644
+--- a/common/syslogging.c
++++ b/common/syslogging.c
+@@ -40,6 +40,6 @@ void syslogging(const gchar* log_domain, GLogLevelFlags log_level,
+ else
+ priority = LOG_NOTICE;
+
+- syslog(priority, message);
++ syslog(priority, "%s", message);
+ }
+
+diff --git a/vgseer/vgseer.c b/vgseer/vgseer.c
+index e045835..18b0024 100644
+--- a/vgseer/vgseer.c
++++ b/vgseer/vgseer.c
+@@ -276,13 +276,13 @@ static gint connect_to_vgd(gchar* server, gchar* port,
+ if (STREQ(value, "ERROR")) {
+ /* Print reason for error and exit. */
+ get_param_verify(fd, &param, &value, P_REASON, NULL);
+- g_critical(value);
++ g_critical("%s", value);
+ clean_fail(NULL);
+ }
+ else if (STREQ(value, "WARNING")) {
+ /* Print warning but continue. */
+ get_param_verify(fd, &param, &value, P_REASON, NULL);
+- g_warning(value);
++ g_warning("%s", value);
+ }
+ else if (!STREQ(value, "OK")) {
+ g_critical("Unknown value for P_STATUS: %s", value);
diff --git a/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild b/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
index 696ec77a5854..1cabe7577cc2 100644
--- a/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
+++ b/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild,v 1.2 2015/02/20 14:56:42 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild,v 1.3 2015/02/24 08:52:54 jlec Exp $
EAPI=5
@@ -26,6 +26,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}"/${P}-underlinking.patch
+ "${FILESDIR}"/${P}-format-security.patch
)
src_install() {