Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[PATCH] proxy_util.c

From: <barbee(at)veribox.net>
Date: Tue Aug 07 2001 - 18:39:42 EDT


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;
Received on Tue Aug 07 21:02:29 2001

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:19 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library