Commit a11b1463 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

avoid inserting the same bucket into bbout twice, causing an endless loop


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1161767 13f79535-47bb-0310-9956-ffa450edef68
parent 62484cb8
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/http/byterange_filter.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -195,8 +195,8 @@ static apr_status_t copy_brigade_range(apr_bucket_brigade *bb,
            return rv;
        }

        APR_BRIGADE_INSERT_TAIL(bbout, copy);
        if (e == first) {
            APR_BRIGADE_INSERT_TAIL(bbout, copy);
            if (off_first != start64) {
                rv = apr_bucket_split(copy, (apr_size_t)(start64 - off_first));
                if (rv == APR_ENOTIMPL) {