www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bar...@veribox.net
Subject [PATCH] proxy_util.c
Date Tue, 07 Aug 2001 22:39:42 GMT
function prototype for apr_get_brigade changed.
not sure what the storage size difference is between apr_size_t
and apr_off_t but we end up with a bus error later down the line

when we assign len to strlen(buffer).

barbee.

Index: proxy_util.c
===================================================================
RCS file: /home/cvspublic/httpd-proxy/module-2.0/proxy_util.c,v
retrieving revision 1.67
diff -u -a -r1.67 proxy_util.c
--- proxy_util.c        2001/08/01 05:50:29     1.67
+++ proxy_util.c        2001/08/07 20:54:33
@@ -990,7 +990,7 @@
 {
     apr_bucket *e;
     apr_status_t rv;
-    apr_size_t readbytes = 0;  /* line-at-a-time */
+    apr_off_t readbytes = 0;   /* line-at-a-time */
     char *pos = buff;
     char *response;
     int found = 0;

Mime
View raw message