Commit 122afc9d authored by Paul Querna's avatar Paul Querna
Browse files

BRIGADE_NORMALIZE could produce invalid results with 0 length buckets.

Submitted By: Rici Lake


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161367 13f79535-47bb-0310-9956-ffa450edef68
parent f571df01
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -105,7 +105,9 @@ do { \
            apr_bucket_delete(e); \
            e = d; \
        } \
        else { \
            e = APR_BUCKET_NEXT(e); \
        } \
    } while (!APR_BRIGADE_EMPTY(b) && (e != APR_BRIGADE_SENTINEL(b))); \
} while (0)