diff options
author | ache <ache@FreeBSD.org> | 2004-06-12 04:56:55 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2004-06-12 04:56:55 +0800 |
commit | 7af0d925e9884a5e7511af1060f06fc945ec2a8d (patch) | |
tree | 19ac40ea67dd10bc279ba3f9377044ba7481e763 | |
parent | 68cd3d423f9698816eaa6aab33a9b9aa53d009e3 (diff) | |
download | freebsd-ports-gnome-7af0d925e9884a5e7511af1060f06fc945ec2a8d.tar.gz freebsd-ports-gnome-7af0d925e9884a5e7511af1060f06fc945ec2a8d.tar.zst freebsd-ports-gnome-7af0d925e9884a5e7511af1060f06fc945ec2a8d.zip |
Fix mod_proxy overflow.
GG security advisory #69
-rw-r--r-- | www/apache13/Makefile | 1 | ||||
-rw-r--r-- | www/apache13/files/patch-proxy_util.c | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile index 0719908a3c19..f20126d5cc64 100644 --- a/www/apache13/Makefile +++ b/www/apache13/Makefile @@ -7,6 +7,7 @@ PORTNAME= apache PORTVERSION= 1.3.31 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} DISTNAME= apache_${PORTVERSION} diff --git a/www/apache13/files/patch-proxy_util.c b/www/apache13/files/patch-proxy_util.c new file mode 100644 index 000000000000..3265807185ca --- /dev/null +++ b/www/apache13/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))); + } + } + |