aboutsummaryrefslogtreecommitdiffstats
path: root/www/webalizer
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-11-20 17:10:18 +0800
committerdinoex <dinoex@FreeBSD.org>2005-11-20 17:10:18 +0800
commit83d706665141efa30f62df70cae425a9e8109ebf (patch)
treeb6d92d3e90f2c1e88d0d47878600373062b808c8 /www/webalizer
parentd55b67e6a71455e0986c97b7635fb16f320df261 (diff)
downloadfreebsd-ports-gnome-83d706665141efa30f62df70cae425a9e8109ebf.tar.gz
freebsd-ports-gnome-83d706665141efa30f62df70cae425a9e8109ebf.tar.zst
freebsd-ports-gnome-83d706665141efa30f62df70cae425a9e8109ebf.zip
- Security Fix
Submitted by: Andrey Chernov
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/Makefile2
-rw-r--r--www/webalizer/files/patch-agent-bug29
2 files changed, 30 insertions, 1 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index f5acaebb02f8..89d2885d78bf 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= webalizer
PORTVERSION= 2.1.10
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES+= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/:main \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/:main \
diff --git a/www/webalizer/files/patch-agent-bug b/www/webalizer/files/patch-agent-bug
new file mode 100644
index 000000000000..5a5354581a30
--- /dev/null
+++ b/www/webalizer/files/patch-agent-bug
@@ -0,0 +1,29 @@
+--- webalizer.c.orig Sun Nov 20 09:52:31 2005
++++ webalizer.c Sun Nov 20 09:54:10 2005
+@@ -805,7 +805,7 @@
+ if (mangle_agent<2)
+ {
+ /* Level 1 - try to get OS */
+- cp1=strstr(str,")");
++ cp1=strstr(cp1,")");
+ if (cp1!=NULL)
+ {
+ *cp2++=' ';
+@@ -840,7 +840,7 @@
+ *cp2++=*cp1++;
+ if (mangle_agent<2)
+ {
+- cp1=strstr(str,"(");
++ cp1=strstr(cp1,"(");
+ if (cp1!=NULL)
+ {
+ cp1++;
+@@ -873,7 +873,7 @@
+ if (mangle_agent<2)
+ {
+ /* Level 1 - Try to get OS */
+- cp1=strstr(str,"(");
++ cp1=strstr(cp1,"(");
+ if (cp1!=NULL)
+ {
+ cp1++;