summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-vfs-extfs
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2004-09-10 14:55:50 +0000
committerMax Khon <fjoe@FreeBSD.org>2004-09-10 14:55:50 +0000
commit50f8d1588c877acee07e6204cd1491bc0604f4a8 (patch)
treecfe289a773d0d8e2d2a7c8955869d7e7d0561aef /misc/mc/files/patch-vfs-extfs
parent- Update to 1.0.20, fixing GnuTLS certificate chain verification DoS (diff)
Fix for CAN-2004-0494.
Approved by: portmgr Obtained from: Fedora Core
Notes
Notes: svn path=/head/; revision=118145
Diffstat (limited to 'misc/mc/files/patch-vfs-extfs')
-rw-r--r--misc/mc/files/patch-vfs-extfs22
1 files changed, 0 insertions, 22 deletions
diff --git a/misc/mc/files/patch-vfs-extfs b/misc/mc/files/patch-vfs-extfs
index 3712d74eae7e..80a869ab9714 100644
--- a/misc/mc/files/patch-vfs-extfs
+++ b/misc/mc/files/patch-vfs-extfs
@@ -1,25 +1,3 @@
---- vfs/extfs/deb.in.orig Thu Dec 12 02:57:00 2002
-+++ vfs/extfs/deb.in Tue Jun 15 03:15:09 2004
-@@ -149,15 +149,10 @@
- }
- else
- {
-- $suffix = "aaa";
-- while (1) {
-- $tmpdir = "/tmp/mcdebfs.run".$$.$suffix;
-- last if mkdir $tmpdir, 0700;
-- $suffix++;
-- # Somebody is being really nasty, give up
-- exit 1 if $suffix eq "zzz";
-- }
--
-+ use File::Temp qw(mkdtemp);
-+ my $template = "/tmp/mcdebfs.run.XXXXXX";
-+ $template="$ENV{MC_TMPDIR}/mcdebfs.XXXXXX" if ($ENV{MC_TMPDIR});
-+ $tmpdir = mkdtemp($template);
- $tmpcmd="$tmpdir/run";
- &mcdebfs_copyout($archive, $filename, $tmpcmd);
- system("chmod u+x $tmpcmd");
--- vfs/extfs/rpm.orig Sun Dec 29 15:19:39 2002
+++ vfs/extfs/rpm Tue Jun 15 03:25:41 2004
@@ -1,14 +1,17 @@