aboutsummaryrefslogtreecommitdiff
path: root/www/apache22
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2006-07-27 20:26:29 +0000
committerClement Laforet <clement@FreeBSD.org>2006-07-27 20:26:29 +0000
commitb5c6eb5f0ed2273002d95322af6cc48cc1416c73 (patch)
tree7da373e7ee6d8ff12425e8840e7b2805efd9f12d /www/apache22
parent1438e33cae8ca35649bdbf52409a5844e0d74cf1 (diff)
downloadports-b5c6eb5f0ed2273002d95322af6cc48cc1416c73.tar.gz
ports-b5c6eb5f0ed2273002d95322af6cc48cc1416c73.zip
Notes
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/Makefile1
-rw-r--r--www/apache22/files/patch-secfix-CVE-2006-374713
2 files changed, 14 insertions, 0 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 63a566745990..7560ab33366e 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -9,6 +9,7 @@
PORTNAME= apache
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
http://apache.webthing.com/database/:aprmysql
diff --git a/www/apache22/files/patch-secfix-CVE-2006-3747 b/www/apache22/files/patch-secfix-CVE-2006-3747
new file mode 100644
index 000000000000..b40f6d31d095
--- /dev/null
+++ b/www/apache22/files/patch-secfix-CVE-2006-3747
@@ -0,0 +1,13 @@
+Index: modules/mappers/mod_rewrite.c
+===================================================================
+--- modules/mappers/mod_rewrite.c (revision 424536)
++++ modules/mappers/mod_rewrite.c (working copy)
+@@ -667,7 +667,7 @@
+ int c = 0;
+
+ token[0] = cp = apr_pstrdup(p, cp);
+- while (*cp && c < 5) {
++ while (*cp && c < 4) {
+ if (*cp == '?') {
+ token[++c] = cp + 1;
+ *cp = '\0';