aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-05-15 17:03:38 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-05-15 17:03:38 +0000
commitf107421395310517a1842da5787bf3e4c1989720 (patch)
treef0843bcb523957c4f28f64dff3a8d3e694755bcd /ftp
parent08ac5318ac87f4688c7759dec85974d77ac0d67c (diff)
downloadports-f107421395310517a1842da5787bf3e4c1989720.tar.gz
ports-f107421395310517a1842da5787bf3e4c1989720.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/wu-ftpd+ipv6/files/patch-ad29
-rw-r--r--ftp/wu-ftpd/files/patch-ad29
2 files changed, 58 insertions, 0 deletions
diff --git a/ftp/wu-ftpd+ipv6/files/patch-ad b/ftp/wu-ftpd+ipv6/files/patch-ad
new file mode 100644
index 000000000000..a6cecf1bfc16
--- /dev/null
+++ b/ftp/wu-ftpd+ipv6/files/patch-ad
@@ -0,0 +1,29 @@
+*** src/popen.c.bak Fri Sep 12 06:09:30 1997
+--- src/popen.c Fri May 15 21:01:29 1998
+***************
+*** 87,92 ****
+--- 87,93 ----
+ *strspl(),
+ #endif
+ *globerr;
++ static char *envtz[2] = {"TZ=", NULL};
+ #ifdef HAVE_GETRLIMIT
+ struct rlimit rlp;
+
+***************
+*** 178,184 ****
+ setuid(i);
+ enable_signaling(); /* we can allow signals once again: kinch */
+ /* end CERT suggested fixes */
+! execv(gargv[0], gargv);
+ _exit(1);
+ }
+ /* parent; assume fdopen can't fail... */
+--- 179,185 ----
+ setuid(i);
+ enable_signaling(); /* we can allow signals once again: kinch */
+ /* end CERT suggested fixes */
+! execve(gargv[0], gargv, envtz);
+ _exit(1);
+ }
+ /* parent; assume fdopen can't fail... */
diff --git a/ftp/wu-ftpd/files/patch-ad b/ftp/wu-ftpd/files/patch-ad
new file mode 100644
index 000000000000..a6cecf1bfc16
--- /dev/null
+++ b/ftp/wu-ftpd/files/patch-ad
@@ -0,0 +1,29 @@
+*** src/popen.c.bak Fri Sep 12 06:09:30 1997
+--- src/popen.c Fri May 15 21:01:29 1998
+***************
+*** 87,92 ****
+--- 87,93 ----
+ *strspl(),
+ #endif
+ *globerr;
++ static char *envtz[2] = {"TZ=", NULL};
+ #ifdef HAVE_GETRLIMIT
+ struct rlimit rlp;
+
+***************
+*** 178,184 ****
+ setuid(i);
+ enable_signaling(); /* we can allow signals once again: kinch */
+ /* end CERT suggested fixes */
+! execv(gargv[0], gargv);
+ _exit(1);
+ }
+ /* parent; assume fdopen can't fail... */
+--- 179,185 ----
+ setuid(i);
+ enable_signaling(); /* we can allow signals once again: kinch */
+ /* end CERT suggested fixes */
+! execve(gargv[0], gargv, envtz);
+ _exit(1);
+ }
+ /* parent; assume fdopen can't fail... */