httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r161367 - httpd/httpd/trunk/server/core_filters.c
Date Thu, 14 Apr 2005 23:42:11 GMT
Author: pquerna
Date: Thu Apr 14 16:42:11 2005
New Revision: 161367

URL: http://svn.apache.org/viewcvs?view=rev&rev=161367
Log:
BRIGADE_NORMALIZE could produce invalid results with 0 length buckets.

Submitted By: Rici Lake

Modified:
    httpd/httpd/trunk/server/core_filters.c

Modified: httpd/httpd/trunk/server/core_filters.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/core_filters.c?view=diff&r1=161366&r2=161367
==============================================================================
--- httpd/httpd/trunk/server/core_filters.c (original)
+++ httpd/httpd/trunk/server/core_filters.c Thu Apr 14 16:42:11 2005
@@ -105,7 +105,9 @@
             apr_bucket_delete(e); \
             e = d; \
         } \
-        e = APR_BUCKET_NEXT(e); \
+        else { \
+            e = APR_BUCKET_NEXT(e); \
+        } \
     } while (!APR_BRIGADE_EMPTY(b) && (e != APR_BRIGADE_SENTINEL(b))); \
 } while (0)
 



Mime
View raw message