summaryrefslogtreecommitdiff
path: root/ftp/wu-ftpd/files/patch-as
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-09-23 16:58:10 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-09-23 16:58:10 +0000
commit4a2939c535d69a09c7e223529f447374bd441603 (patch)
treeb4787d1bf3531b1182c1af60ead9e15055163527 /ftp/wu-ftpd/files/patch-as
parentUpdate to DAT 4294 (diff)
Integrate official DOS-attack prevention patch
Add -- to tar args to stop hacking with "-"-started files in ftpconversions Approved by: security-officer ('--' fix), portmgr
Diffstat (limited to '')
-rw-r--r--ftp/wu-ftpd/files/patch-as11
1 files changed, 0 insertions, 11 deletions
diff --git a/ftp/wu-ftpd/files/patch-as b/ftp/wu-ftpd/files/patch-as
deleted file mode 100644
index 2f4570616c2b..000000000000
--- a/ftp/wu-ftpd/files/patch-as
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/realpath.c.orig Mon Jul 28 16:18:15 2003
-+++ src/realpath.c Mon Jul 28 16:18:44 2003
-@@ -299,7 +299,7 @@
- rootd = 0;
-
- if (*wbuf) {
-- if (strlen(resolved) + strlen(wbuf) + rootd + 1 > MAXPATHLEN) {
-+ if (strlen(resolved) + strlen(wbuf) + !rootd + 1 > MAXPATHLEN) {
- errno = ENAMETOOLONG;
- goto err1;
- }