diff options
author | Daniel Harris <dannyboy@FreeBSD.org> | 2003-07-31 16:07:05 +0000 |
---|---|---|
committer | Daniel Harris <dannyboy@FreeBSD.org> | 2003-07-31 16:07:05 +0000 |
commit | beff7f49aebf470cada8541207b6562c6e068bae (patch) | |
tree | bed5b541434459de8f64fcc6c0b3d1a62d516411 /ftp/wu-ftpd+ipv6/files/patch-as | |
parent | update gmime to 1.0.7, (diff) |
Address CAN-2003-0466.
Submitted/approved by: security-officer
Notes
Notes:
svn path=/head/; revision=86057
Diffstat (limited to 'ftp/wu-ftpd+ipv6/files/patch-as')
-rw-r--r-- | ftp/wu-ftpd+ipv6/files/patch-as | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/wu-ftpd+ipv6/files/patch-as b/ftp/wu-ftpd+ipv6/files/patch-as new file mode 100644 index 000000000000..2f4570616c2b --- /dev/null +++ b/ftp/wu-ftpd+ipv6/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; + } |