summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-02 15:58:54 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-02 15:58:54 +0000
commitbad1c3bd653f04ff8f85580188b57fc137a9dedd (patch)
treeec3b8e7a6216e401c5183a1835f0c744efb16ea7 /ftp
parentAdd mod_geoip2. (diff)
- Fix a remote format string vulnerability
- Remove attribution from pkg-descr PR: ports/86833 Submitted by: maintainer Security: fixes a remote format string vulnerability
Notes
Notes: svn path=/head/; revision=143994
Diffstat (limited to 'ftp')
-rw-r--r--ftp/weex/Makefile1
-rw-r--r--ftp/weex/files/patch-src_log.c11
-rw-r--r--ftp/weex/pkg-descr3
3 files changed, 12 insertions, 3 deletions
diff --git a/ftp/weex/Makefile b/ftp/weex/Makefile
index 77ea6d831855..3a364f3c6a5c 100644
--- a/ftp/weex/Makefile
+++ b/ftp/weex/Makefile
@@ -7,6 +7,7 @@
PORTNAME= weex
PORTVERSION= 2.6.1.5
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/ftp/weex/files/patch-src_log.c b/ftp/weex/files/patch-src_log.c
new file mode 100644
index 000000000000..e94c8332ac12
--- /dev/null
+++ b/ftp/weex/files/patch-src_log.c
@@ -0,0 +1,11 @@
+--- src/log.c.orig Mon Aug 18 11:52:38 2003
++++ src/log.c Sun Oct 2 11:06:58 2005
+@@ -183,7 +183,7 @@
+
+ fp=log_open();
+ for(i=0;i<max_log;i++){
+- fprintf(fp,log_str[i]);
++ fprintf(fp,"%s",log_str[i]);
+ free(log_str[i]);
+ }
+ free(log_str);
diff --git a/ftp/weex/pkg-descr b/ftp/weex/pkg-descr
index 102e1be09682..2ee8abd9bb28 100644
--- a/ftp/weex/pkg-descr
+++ b/ftp/weex/pkg-descr
@@ -9,6 +9,3 @@ Main features:
* caching to speed up the synchronization process
WWW: http://weex.sourceforge.net/
-
-- ehaupt
-ehaupt@critical.ch