summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-30 19:20:13 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-30 19:20:13 +0000
commit87ca8111f60b201ed61abb328a531f00451ae6b7 (patch)
treef68a66499ba31e425200e70f39fe4609962858e2
parentFixes "Upload File" Script Insertion Vulnerability, bug 203791, reported by P... (diff)
downloadgentoo-2-87ca8111f60b201ed61abb328a531f00451ae6b7.tar.gz
gentoo-2-87ca8111f60b201ed61abb328a531f00451ae6b7.tar.bz2
gentoo-2-87ca8111f60b201ed61abb328a531f00451ae6b7.zip
Version bump adding patch for bug #203777. Remove old version.
(Portage version: 2.1.4_rc11)
-rw-r--r--dev-libs/libcdio/ChangeLog9
-rw-r--r--dev-libs/libcdio/files/digest-libcdio-0.78.2-r2 (renamed from dev-libs/libcdio/files/digest-libcdio-0.78.2-r1)0
-rw-r--r--dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch25
-rw-r--r--dev-libs/libcdio/libcdio-0.78.2-r2.ebuild (renamed from dev-libs/libcdio/libcdio-0.78.2-r1.ebuild)3
4 files changed, 35 insertions, 2 deletions
diff --git a/dev-libs/libcdio/ChangeLog b/dev-libs/libcdio/ChangeLog
index e739e34879ab..7ab10ed93b3e 100644
--- a/dev-libs/libcdio/ChangeLog
+++ b/dev-libs/libcdio/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libcdio
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.74 2007/11/19 07:31:48 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.75 2007/12/30 19:20:12 flameeyes Exp $
+
+*libcdio-0.78.2-r2 (30 Dec 2007)
+
+ 30 Dec 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/libcdio-0.78.2-bug203777.patch, -libcdio-0.78.2-r1.ebuild,
+ +libcdio-0.78.2-r2.ebuild:
+ Version bump adding patch for bug #203777. Remove old version.
19 Nov 2007; Alexis Ballier <aballier@gentoo.org>
+files/libcdio-0.78.2-gcc-4.3-includes.patch, libcdio-0.78.2-r1.ebuild:
diff --git a/dev-libs/libcdio/files/digest-libcdio-0.78.2-r1 b/dev-libs/libcdio/files/digest-libcdio-0.78.2-r2
index 6fcd9e480dcb..6fcd9e480dcb 100644
--- a/dev-libs/libcdio/files/digest-libcdio-0.78.2-r1
+++ b/dev-libs/libcdio/files/digest-libcdio-0.78.2-r2
diff --git a/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch b/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch
new file mode 100644
index 000000000000..18b12c9d1618
--- /dev/null
+++ b/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch
@@ -0,0 +1,25 @@
+diff -Naur libcdio-0.78.2-orig/work/libcdio-0.78.2/src/cd-info.c libcdio-0.78.2/work/libcdio-0.78.2/src/cd-info.c
+--- libcdio-0.78.2-orig/work/libcdio-0.78.2/src/cd-info.c 2006-03-17 14:37:08.000000000 -0500
++++ libcdio-0.78.2/work/libcdio-0.78.2/src/cd-info.c 2007-12-30 10:49:40.000000000 -0500
+@@ -539,7 +539,7 @@
+ iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode);
+ char *psz_iso_name = p_statbuf->filename;
+ char _fullname[4096] = { 0, };
+- char translated_name[MAX_ISONAME+1];
++ char *translated_name = (char *) alloca(strlen(psz_iso_name+1));
+
+ if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) {
+ iso9660_name_translate_ext(psz_iso_name, translated_name,
+diff -Naur libcdio-0.78.2-orig/work/libcdio-0.78.2/src/iso-info.c libcdio-0.78.2/work/libcdio-0.78.2/src/iso-info.c
+--- libcdio-0.78.2-orig/work/libcdio-0.78.2/src/iso-info.c 2006-03-17 14:37:08.000000000 -0500
++++ libcdio-0.78.2/work/libcdio-0.78.2/src/iso-info.c 2007-12-30 10:49:50.000000000 -0500
+@@ -224,7 +224,8 @@
+ iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode);
+ char *psz_iso_name = p_statbuf->filename;
+ char _fullname[4096] = { 0, };
+- char translated_name[MAX_ISONAME+1];
++ char *translated_name = (char *) alloca(strlen(psz_iso_name+1));
++
+
+ if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) {
+ iso9660_name_translate_ext(psz_iso_name, translated_name,
diff --git a/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild b/dev-libs/libcdio/libcdio-0.78.2-r2.ebuild
index 4887b2afcf64..138c01895308 100644
--- a/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild
+++ b/dev-libs/libcdio/libcdio-0.78.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild,v 1.2 2007/11/19 07:31:48 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.78.2-r2.ebuild,v 1.1 2007/12/30 19:20:12 flameeyes Exp $
inherit eutils libtool multilib
@@ -24,6 +24,7 @@ RESTRICT="test"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}/${P}-gcc-4.3-includes.patch"
+ epatch "${FILESDIR}/${P}-bug203777.patch"
elibtoolize
}