diff options
author | wen <wen@FreeBSD.org> | 2010-01-18 14:42:34 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-01-18 14:42:34 +0800 |
commit | 28b2532f6a610d812f7f05afc483e035f72cb640 (patch) | |
tree | 91fb1014abc614c0b07a6968e7649bb6ca54a59c /ftp/cftp | |
parent | ca7ffdf12a12dd96ac745ab5f4b20adc4a2adc74 (diff) | |
download | freebsd-ports-gnome-28b2532f6a610d812f7f05afc483e035f72cb640.tar.gz freebsd-ports-gnome-28b2532f6a610d812f7f05afc483e035f72cb640.tar.zst freebsd-ports-gnome-28b2532f6a610d812f7f05afc483e035f72cb640.zip |
- Fix local buffer overflow (obtained from NetBSD)
- Update WWW
- Pass maintainership to submitter
PR: ports/142706
Submitted by: Rob Farmer <rfarmer@predatorlabs.net>
Diffstat (limited to 'ftp/cftp')
-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/ |