From 4a2939c535d69a09c7e223529f447374bd441603 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 23 Sep 2003 16:58:10 +0000 Subject: Integrate official DOS-attack prevention patch Add -- to tar args to stop hacking with "-"-started files in ftpconversions Approved by: security-officer ('--' fix), portmgr --- ftp/wu-ftpd/files/patch-as | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 ftp/wu-ftpd/files/patch-as (limited to 'ftp/wu-ftpd/files/patch-as') 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; - } -- cgit v1.2.3