summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-11-27 00:04:56 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-11-27 00:04:56 +0000
commit0d4a60f1e455b47c5ed09d29936d0012383865d0 (patch)
tree080418a673514a4cf09bc44669eae32a9693d3a2 /media-plugins
parentshorten description and use longdescription, by Dustin Polke, bug #356821 (diff)
downloadhistorical-0d4a60f1e455b47c5ed09d29936d0012383865d0.tar.gz
historical-0d4a60f1e455b47c5ed09d29936d0012383865d0.tar.bz2
historical-0d4a60f1e455b47c5ed09d29936d0012383865d0.zip
Fix double free by Vinycius Maia, bug #418241
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/caps-plugins/ChangeLog9
-rw-r--r--media-plugins/caps-plugins/Manifest10
-rw-r--r--media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild43
-rw-r--r--media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch16
4 files changed, 73 insertions, 5 deletions
diff --git a/media-plugins/caps-plugins/ChangeLog b/media-plugins/caps-plugins/ChangeLog
index 349135eec025..c5c1130fb69c 100644
--- a/media-plugins/caps-plugins/ChangeLog
+++ b/media-plugins/caps-plugins/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-plugins/caps-plugins
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/caps-plugins/ChangeLog,v 1.31 2012/11/26 23:58:09 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/caps-plugins/ChangeLog,v 1.32 2012/11/27 00:04:49 aballier Exp $
+
+*caps-plugins-0.4.5-r1 (27 Nov 2012)
+
+ 27 Nov 2012; Alexis Ballier <aballier@gentoo.org>
+ +caps-plugins-0.4.5-r1.ebuild,
+ +files/caps-plugins-0.4.5-double-free-corruption.patch:
+ Fix double free by Vinycius Maia, bug #418241
26 Nov 2012; Alexis Ballier <aballier@gentoo.org> caps-plugins-0.4.4.ebuild,
caps-plugins-0.4.5.ebuild, metadata.xml:
diff --git a/media-plugins/caps-plugins/Manifest b/media-plugins/caps-plugins/Manifest
index bc5bff8238cc..d5c737c514c0 100644
--- a/media-plugins/caps-plugins/Manifest
+++ b/media-plugins/caps-plugins/Manifest
@@ -1,16 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX caps-plugins-0.4.5-double-free-corruption.patch 434 SHA256 9fb2a58a414bab875bd277bdfd8a9624934d5e1528e515736ad0fc6e3cb3d24c SHA512 5984966a52278c6bfc892824bbac8d1946d1eb92e76ab136a11ee14d074fdfb7260b71367400e7fd016fdc645a2cb02d16564d40081990799b1dfb83c8e35bf1 WHIRLPOOL aae156bf579550e09e0039431f052baf19565c3588ad6101e59933f927d1bb286a44b9298865e6451e26c660ae7ca8e6ce25d301414f7d1928456837bc9be637
DIST caps_0.4.4.tar.gz 789281 SHA256 18f0339ce129cfbb506072687390928fea23f2b11673e43c7ccb1747709a1c8e
DIST caps_0.4.5.tar.gz 790187 SHA256 cba5a7785ab5b1c596250fded999215906bc7eda7c8a688f677de15698e31616 SHA512 5ceaa43e40f3a5d746abc847b8c8e4a2aafe1569b3d370b32b09a64ac52e642b172cc6b944b495b902e5c2a81c538f3406e08124475a80cc143c6e33ee960f15 WHIRLPOOL c219010c7c28508ab5c5606742131369ba8c115f17775f61bdea4ccc06ba015014fb871bb3abc4b9896f3ca61f7345d0b829fde87be53772a2fe9d7dc62a8280
EBUILD caps-plugins-0.4.4.ebuild 898 SHA256 1238ae9a900567d922e91996aa45bc1c008c7b65e9508943cd610916fad2969f SHA512 d53f601ad8ae219c4ad1e731aacf9b0312d9af6eb2fd2c09d42e7de3e9ec0fb3eb550ee6be2d7fb4328873d85d1ae9bec5f02d669381f626e2474d380f7645b5 WHIRLPOOL d4b6ad9e83e6aeefc8806abfd3009e102c38e48429f051390b34f9d1435b3b03d293eb6c828e7fb3f1161e594b0962ec45c8fd45916d987561519886053d08b4
+EBUILD caps-plugins-0.4.5-r1.ebuild 971 SHA256 e00f9cab962e66a252f95e088f9d8e8e7564c983b259f719842f37b7774918ee SHA512 a4df53ce79406402378839417d56d468a45e7b6ceee137262cc4ec2d8ce25fd4e3bf82b1f324a5ed455ac2b9b9932e54f5ca3d4b3cdd94b8039781b3237b7743 WHIRLPOOL 61628732e1a53da07082f50a38a2a140fb0e276f36b83657bc4af12f203a4d47dbe401033b9f498e0945d696265766a6d7d0cfd26b177c20eceb263670949828
EBUILD caps-plugins-0.4.5.ebuild 911 SHA256 c93047eeb73d46df3744b3d36bf1d364b9dae74a1ba624a263ac8ad911636a1a SHA512 1ef1f6f4f52a278e33e3d6f2cca78623570afa9077b3ebe0a5ba75b6fadfa85a6c5bbb3996f1a75ab2e710c75dc4b10730c0135823fc3b56ba1c8ef55b1df4b2 WHIRLPOOL 738a8a55c4ce76d48db28c540f88dc668451c435e898088f482f434ccc21e585e5cf4905cb8dc3c721048a51b48eadd22db1f87eee736e3535a297c8be27567d
-MISC ChangeLog 4406 SHA256 2cc3fce78cf97f922b6cf9aed3f834e85fc17dfc1419317ea2d86655c22a4888 SHA512 ff28230a84568b5237dac6927c42edb11348c8449bc6e825d631739da776f566ff74edf1432341d2ec2fe07b8e35ef0a87cca1d0e7cb9f94b3e5394a70322a9b WHIRLPOOL 5823b52335afd04ebe9ed57d9a0310e20d4d0a49d915bc95467440ce23b567a4ee86c36b3ce56017294bad47b9fdb1c94aada938ef6789473dc8e54ea2b98ebd
+MISC ChangeLog 4636 SHA256 9e7dea8bf56f44f1fdf238131d119e4724f85ed3c9634d1cf1b194b8864fee3d SHA512 4c89bb13ac00bc53dca36cc989fe9510dbb416513c73a602dd7cc5ebfacc20328bdb4e0b8131154782855dd8f1dafd49bafaacfaa2ced416234c841846bf6f34 WHIRLPOOL 7225a4d20ed8e3af132f087bd1e6b612bb1b62ab5829f27b1a4f3ea03b658be3d8c32bb40b3e0b46c2459442181adc50784f3855b842c21ddf3d9d80077c115e
MISC metadata.xml 419 SHA256 941e81bbbeac07e3c1bbd7f5ce5b85b3891e16cb3ae2297a584b230398a506ff SHA512 e083c394db95c1db649abe7d45da2703efc4ff0d6324dcaa62ec954810e808c4ede0e71a999d1e665127080bb632d75ca7cc9ef14322e15d74ee406880bedfa9 WHIRLPOOL b94a3c52b9082b6edaabcaec6d7026b5cdf48f5d71cfef4286e5c9e8cc1216f5f4f88063496eb92244d2893ba7e30da09522f3c79c0c07ed2646fdd27b1ec3f5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlC0AhIACgkQvFcC4BYPU0pD5QCgg9gloUezgH5GROFtZ/b5oHSM
-OIUAn2eJpmC5uAGuqqRWa2ggMtVgG3Nk
-=A7ez
+iEYEAREIAAYFAlC0A6IACgkQvFcC4BYPU0rypwCdFP1i9CgK5cyUvGksZ/OVu6mX
+gQoAnA9IzOKd5+M9BVJ5zwCbzHCvVsk5
+=AnLy
-----END PGP SIGNATURE-----
diff --git a/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild b/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild
new file mode 100644
index 000000000000..e100a074080a
--- /dev/null
+++ b/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild,v 1.1 2012/11/27 00:04:49 aballier Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs multilib
+
+IUSE=""
+MY_P=caps-${PV}
+
+DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite"
+HOMEPAGE="http://quitte.de/dsp/caps.html"
+SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/ladspa-sdk"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-double-free-corruption.patch"
+}
+
+src_compile() {
+ emake CFLAGS="${CXXFLAGS} -fPIC -DPIC" _LDFLAGS="-nostartfiles -shared ${LDFLAGS}" CC="$(tc-getCXX)" || die
+}
+
+src_install() {
+ dodoc README CHANGES
+ dohtml caps.html
+
+ insinto /usr/$(get_libdir)/ladspa
+ insopts -m0755
+ doins *.so
+
+ insinto /usr/share/ladspa/rdf
+ insopts -m0644
+ doins *.rdf
+}
diff --git a/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch b/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch
new file mode 100644
index 000000000000..a85e41cd1f10
--- /dev/null
+++ b/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/show_bug.cgi?id=418241
+
+--- interface.cc.orig 2012-08-11 07:35:45.723235289 -0300
++++ interface.cc 2012-08-11 07:36:46.656565620 -0300
+@@ -128,8 +128,10 @@
+ __attribute__ ((destructor))
+ void _fini()
+ {
+- for (ulong i = 0; i < N; ++i)
++ for (ulong i = 0; i < N; ++i) {
+ delete descriptors[i];
++ descriptors[i] = NULL;
++ }
+ }
+
+ /* /////////////////////////////////////////////////////////////////////// */