diff options
author | dannyboy <dannyboy@FreeBSD.org> | 2003-07-31 16:07:05 +0000 |
---|---|---|
committer | dannyboy <dannyboy@FreeBSD.org> | 2003-07-31 16:07:05 +0000 |
commit | 32dc8d8d6094ed402f3e4b07b5a2b8cf6aab0997 (patch) | |
tree | 1cf0a5cd3999d4c63d2266f8868e06fa2ebeef2a /ftp/wu-ftpd | |
parent | f95d48983f015e15cd38b88f25137b1ccfa51eff (diff) | |
download | FreeBSD-ports-32dc8d8d6094ed402f3e4b07b5a2b8cf6aab0997.zip FreeBSD-ports-32dc8d8d6094ed402f3e4b07b5a2b8cf6aab0997.tar.gz |
Address CAN-2003-0466.
Submitted/approved by: security-officer
Diffstat (limited to 'ftp/wu-ftpd')
-rw-r--r-- | ftp/wu-ftpd/Makefile | 2 | ||||
-rw-r--r-- | ftp/wu-ftpd/files/patch-as | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/ftp/wu-ftpd/Makefile b/ftp/wu-ftpd/Makefile index 57d3782..2698183 100644 --- a/ftp/wu-ftpd/Makefile +++ b/ftp/wu-ftpd/Makefile @@ -9,7 +9,7 @@ PORTNAME= wu-ftpd PORTVERSION= 2.6.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= ftp MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/ diff --git a/ftp/wu-ftpd/files/patch-as b/ftp/wu-ftpd/files/patch-as new file mode 100644 index 0000000..2f45706 --- /dev/null +++ b/ftp/wu-ftpd/files/patch-as @@ -0,0 +1,11 @@ +--- 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; + } |