aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2009-01-03 12:06:45 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2009-01-03 12:06:45 +0000
commit3d89865a95aa3973231e51c065e122c78e36e239 (patch)
treebbeb84d5a5cc763af2913213cddb8b124bc34526 /devel
parent8c5f74cc6f03fe002dca96d8b262e9763813a326 (diff)
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-File-Path/Makefile1
-rw-r--r--devel/p5-File-Path/files/patch-incomplete-fix-for-CVE-2008-044811
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/p5-File-Path/Makefile b/devel/p5-File-Path/Makefile
index b315dfb84c72..5d658731a703 100644
--- a/devel/p5-File-Path/Makefile
+++ b/devel/p5-File-Path/Makefile
@@ -7,6 +7,7 @@
PORTNAME= File-Path
PORTVERSION= 2.07
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/devel/p5-File-Path/files/patch-incomplete-fix-for-CVE-2008-0448 b/devel/p5-File-Path/files/patch-incomplete-fix-for-CVE-2008-0448
new file mode 100644
index 000000000000..4979f240964d
--- /dev/null
+++ b/devel/p5-File-Path/files/patch-incomplete-fix-for-CVE-2008-0448
@@ -0,0 +1,11 @@
+--- Path.pm.orig 2009-01-03 19:40:06.000000000 +0800
++++ Path.pm 2009-01-03 19:41:04.000000000 +0800
+@@ -333,7 +333,7 @@
+ }
+ else {
+ _error($arg, "cannot remove directory", $canon);
+- if (!chmod($perm, ($Is_VMS ? VMS::Filespec::fileify($root) : $root))
++ if ($Force_Writeable && !chmod($perm, ($Is_VMS ? VMS::Filespec::fileify($root) : $root))
+ ) {
+ _error($arg, sprintf("cannot restore permissions to 0%o",$perm), $canon);
+ }