diff options
author | Wen Heping <wen@FreeBSD.org> | 2010-01-18 06:42:34 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2010-01-18 06:42:34 +0000 |
commit | 6d7f57f1d8eddae60ccd231d35d5bac12e926cc0 (patch) | |
tree | b9a53a8bd4213beb4278cf1bca87f7ab268bbc15 /ftp | |
parent | 4b877d96d6d58fafe200c6181b53473633319c7f (diff) | |
download | ports-6d7f57f1d8eddae60ccd231d35d5bac12e926cc0.tar.gz ports-6d7f57f1d8eddae60ccd231d35d5bac12e926cc0.zip |
- Fix local buffer overflow (obtained from NetBSD)
- Update WWW
- Pass maintainership to submitter
PR: ports/142706
Submitted by: Rob Farmer <rfarmer@predatorlabs.net>
Notes
Notes:
svn path=/head/; revision=248075
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/cftp/Makefile | 4 | ||||
-rw-r--r-- | ftp/cftp/files/patch-readrc.c | 11 | ||||
-rw-r--r-- | ftp/cftp/pkg-descr | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/ftp/cftp/Makefile b/ftp/cftp/Makefile index 5850773e3403..2635e78d4da7 100644 --- a/ftp/cftp/Makefile +++ b/ftp/cftp/Makefile @@ -7,12 +7,12 @@ PORTNAME= cftp PORTVERSION= 0.12 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= ftp ipv6 MASTER_SITES= ftp://ftp.giga.or.at/pub/nih/cftp/ \ ftp://sunsite.univie.ac.at/pub/nih/cftp/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= rfarmer@predatorlabs.net COMMENT= Comfortable FTP, a full screen ftp client GNU_CONFIGURE= yes diff --git a/ftp/cftp/files/patch-readrc.c b/ftp/cftp/files/patch-readrc.c new file mode 100644 index 000000000000..7aa461963c7a --- /dev/null +++ b/ftp/cftp/files/patch-readrc.c @@ -0,0 +1,11 @@ +--- readrc.c.orig 2010-01-09 23:30:28.000000000 -0800 ++++ readrc.c 2010-01-09 23:31:10.000000000 -0800 +@@ -46,7 +46,7 @@ + char b[8192], *p, *tok, *q, *home; + char *user, *pass, *host, *port, *wdir; + +- if ((home=getenv("HOME")) == NULL) ++ if ((home=getenv("HOME")) == NULL || strlen(home) > sizeof(b)-9) + home = ""; + sprintf(b, "%s/.cftprc", home); + diff --git a/ftp/cftp/pkg-descr b/ftp/cftp/pkg-descr index efba8d7dddff..45c00a475e0f 100644 --- a/ftp/cftp/pkg-descr +++ b/ftp/cftp/pkg-descr @@ -4,4 +4,4 @@ your local computer via the FTP protocol. fullscreen representation of the remote directory so you can easily choose what to get or where to go. -WWW: http://ftp.giga.or.at/pub/nih/cftp/ +WWW: http://nih.at/cftp/ |