mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Security Fix
mod_proxy buffer overflow CAN-2004-0492
This commit is contained in:
parent
3cbdb5d1b1
commit
03ca0358d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111262
2 changed files with 14 additions and 1 deletions
|
@ -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/} \
|
||||
|
|
13
www/apache13-modssl/files/patch-proxy_util.c
Normal file
13
www/apache13-modssl/files/patch-proxy_util.c
Normal file
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue