aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache13-modssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-06-11 16:36:54 +0800
committerdinoex <dinoex@FreeBSD.org>2004-06-11 16:36:54 +0800
commit43711c50d4d68b4c6facd6e66afe5b62b05f9d64 (patch)
treefed556585192e1ddb55600f7a67718ac1c809956 /www/apache13-modssl
parent6225e1ff0f9e86a5482c22df3d2e5df64510a4c4 (diff)
downloadfreebsd-ports-gnome-43711c50d4d68b4c6facd6e66afe5b62b05f9d64.tar.gz
freebsd-ports-gnome-43711c50d4d68b4c6facd6e66afe5b62b05f9d64.tar.zst
freebsd-ports-gnome-43711c50d4d68b4c6facd6e66afe5b62b05f9d64.zip
- Security Fix
mod_proxy buffer overflow CAN-2004-0492
Diffstat (limited to 'www/apache13-modssl')
-rw-r--r--www/apache13-modssl/Makefile2
-rw-r--r--www/apache13-modssl/files/patch-proxy_util.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/www/apache13-modssl/Makefile b/www/apache13-modssl/Makefile
index 0529f57c2eb0..4bfa55ab1bcf 100644
--- a/www/apache13-modssl/Makefile
+++ b/www/apache13-modssl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apache+mod_ssl
PORTVERSION= ${VERSION_APACHE}+${VERSION_MODSSL}${PVERSION_MODSNMP}${PVERSION_MODACCEL}${PVERSION_MODDEFLATE}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www security
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITES_MODSSL:S/$/:mod_ssl/} \
diff --git a/www/apache13-modssl/files/patch-proxy_util.c b/www/apache13-modssl/files/patch-proxy_util.c
new file mode 100644
index 000000000000..3265807185ca
--- /dev/null
+++ b/www/apache13-modssl/files/patch-proxy_util.c
@@ -0,0 +1,13 @@
+--- src/modules/proxy/proxy_util.c.orig Tue Feb 17 22:52:22 2004
++++ src/modules/proxy/proxy_util.c Fri Jun 11 10:24:12 2004
+@@ -545,8 +545,8 @@
+ n = ap_bread(f, buf, buf_size);
+ }
+ else {
+- n = ap_bread(f, buf, MIN((int)buf_size,
+- (int)(len - total_bytes_rcvd)));
++ n = ap_bread(f, buf, MIN((size_t)buf_size,
++ (size_t)(len - total_bytes_rcvd)));
+ }
+ }
+