summaryrefslogtreecommitdiff
path: root/www/apache13-modssl/files/CVE-2010-0010.patch
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2012-01-01 19:30:58 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2012-01-01 19:30:58 +0000
commit2c96f26a12ae4d0474c70d61c6cab483c2865f49 (patch)
tree3d7591c78a947273efae6c582aacdca524e69528 /www/apache13-modssl/files/CVE-2010-0010.patch
parent- Move all the fetching into fetch phase (diff)
- remove apache13 and ports depending on apache13 from portstree
( EXPIRATION_DATE=2012-01-01 ) with hat apache@
Notes
Notes: svn path=/head/; revision=288378
Diffstat (limited to 'www/apache13-modssl/files/CVE-2010-0010.patch')
-rw-r--r--www/apache13-modssl/files/CVE-2010-0010.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/www/apache13-modssl/files/CVE-2010-0010.patch b/www/apache13-modssl/files/CVE-2010-0010.patch
deleted file mode 100644
index c9ea4382bcb2..000000000000
--- a/www/apache13-modssl/files/CVE-2010-0010.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -urN apache_1.3.41/src/main/buff.c src/main/buff.c
---- apache_1.3.41/src/main/buff.c 2006-07-12 10:16:05.000000000 +0200
-+++ src/main/buff.c 2010-01-07 11:28:00.000000000 +0100
-@@ -737,7 +737,7 @@
- {
- int i, nrd;
-
-- if (fb->flags & B_RDERR)
-+ if (fb->flags & B_RDERR || nbyte < 0)
- return -1;
- if (nbyte == 0)
- return 0;
-@@ -1258,7 +1258,7 @@
- static int csize = 0;
- #endif /*CHARSET_EBCDIC*/
-
-- if (fb->flags & (B_WRERR | B_EOUT))
-+ if (fb->flags & (B_WRERR | B_EOUT) || nbyte < 0)
- return -1;
- if (nbyte == 0)
- return 0;
-diff -urN apache_1.3.41/src/modules/proxy/proxy_util.c src/modules/proxy/proxy_util.c
---- apache_1.3.41/src/modules/proxy/proxy_util.c 2007-10-30 20:17:03.000000000 +0100
-+++ src/modules/proxy/proxy_util.c 2010-01-07 11:28:00.000000000 +0100
-@@ -507,7 +507,7 @@
-
- /* read the chunk */
- if (remaining > 0) {
-- n = ap_bread(f, buf, MIN((int)buf_size, (int)remaining));
-+ n = ap_bread(f, buf, (int) MIN(buf_size, remaining));
- if (n > -1) {
- remaining -= n;
- end_of_chunk = (remaining == 0);