diff options
author | clement <clement@FreeBSD.org> | 2004-06-11 20:19:05 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-06-11 20:19:05 +0800 |
commit | de0bb03ea9336dedd69b27347c8b942a4c476101 (patch) | |
tree | 7effe4de4edafc34db65570aa49d7aa4ab3e6629 | |
parent | c5be0f9047004e45d1c4d191b67c48444ac141a9 (diff) | |
download | freebsd-ports-gnome-de0bb03ea9336dedd69b27347c8b942a4c476101.tar.gz freebsd-ports-gnome-de0bb03ea9336dedd69b27347c8b942a4c476101.tar.zst freebsd-ports-gnome-de0bb03ea9336dedd69b27347c8b942a4c476101.zip |
- Security Fix
mod_proxy buffer overflow CAN-2004-0492
Shamefully stolen from: apache13-mod-ssl port
-rw-r--r-- | www/apache13-ssl/Makefile | 2 | ||||
-rw-r--r-- | www/apache13-ssl/files/patch-src:modules:proxy:proxy_util.c | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/www/apache13-ssl/Makefile b/www/apache13-ssl/Makefile index b7658445b78b..d431a3726327 100644 --- a/www/apache13-ssl/Makefile +++ b/www/apache13-ssl/Makefile @@ -9,7 +9,7 @@ PORTNAME= apache+ssl PORTVERSION= ${APACHE_VERSION}.${APACHE_SSL_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www security MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \ ${MASTER_SITES_APACHE_SSL:S/$/:ssl/} diff --git a/www/apache13-ssl/files/patch-src:modules:proxy:proxy_util.c b/www/apache13-ssl/files/patch-src:modules:proxy:proxy_util.c new file mode 100644 index 000000000000..3265807185ca --- /dev/null +++ b/www/apache13-ssl/files/patch-src:modules:proxy: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))); + } + } + |