]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
http: follow up to r1484852.
authorYann Ylavic <ylavic@apache.org>
Mon, 29 Jun 2015 17:52:00 +0000 (17:52 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 29 Jun 2015 17:52:00 +0000 (17:52 +0000)
commitdc7df095edf962ddbfbf1c2a6d3f7d85da68b5ca
treead5561c8ecd37ab88f449a6a30efbdb694a680f1
parent61d7e832dbdc654c9b6a83661a974b04dffe8245
http: follow up to r1484852.
Don't check LimitRequestBody when there is no (more) body.

This fixes an uninitialized use of 'totalread' in ap_http_filter() when either
the remaining or requested number of body bytes is zero, leading to an invalid
computation of bytes received.

Reported by: Michael Kaufmann <mail michael-kaufmann.ch>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1688274 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/http/http_filters.c