aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache13-modssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-07-28 01:06:13 +0800
committerdinoex <dinoex@FreeBSD.org>2006-07-28 01:06:13 +0800
commite1a598821dd2fe8c211a7f39a6198c778aac649b (patch)
tree522758fdf0efa7f3b7dbbb970eab428bef6dd813 /www/apache13-modssl
parent6b1b0ac4041ef1ed727c4921e0e899c21f28d206 (diff)
downloadfreebsd-ports-gnome-e1a598821dd2fe8c211a7f39a6198c778aac649b.tar.gz
freebsd-ports-gnome-e1a598821dd2fe8c211a7f39a6198c778aac649b.tar.zst
freebsd-ports-gnome-e1a598821dd2fe8c211a7f39a6198c778aac649b.zip
- Security patch mod_rewrite
Security: CVE-2006-3747
Diffstat (limited to 'www/apache13-modssl')
-rw-r--r--www/apache13-modssl/Makefile2
-rw-r--r--www/apache13-modssl/files/patch-CVE-2006-374711
2 files changed, 12 insertions, 1 deletions
diff --git a/www/apache13-modssl/Makefile b/www/apache13-modssl/Makefile
index a949a0dd0749..237a37727b45 100644
--- a/www/apache13-modssl/Makefile
+++ b/www/apache13-modssl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apache+mod_ssl
PORTVERSION= ${VERSION_APACHE}+${VERSION_MODSSL}
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= www security
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITES_MODSSL:S/$/:mod_ssl/} \
diff --git a/www/apache13-modssl/files/patch-CVE-2006-3747 b/www/apache13-modssl/files/patch-CVE-2006-3747
new file mode 100644
index 000000000000..215c7abced59
--- /dev/null
+++ b/www/apache13-modssl/files/patch-CVE-2006-3747
@@ -0,0 +1,11 @@
+--- src/modules/standard/mod_rewrite.c (revision 421288)
++++ src/modules/standard/mod_rewrite.c (working copy)
+@@ -2736,7 +2736,7 @@
+ int c = 0;
+
+ token[0] = cp = ap_pstrdup(p, cp);
+- while (*cp && c < 5) {
++ while (*cp && c < 4) {
+ if (*cp == '?') {
+ token[++c] = cp + 1;
+ *cp = '\0';