httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: svn commit: r610061 - /httpd/httpd/trunk/modules/http/http_filters.c
Date Tue, 08 Jan 2008 19:28:16 GMT


On 01/08/2008 06:25 PM, Nick Kew wrote:
> On Tue, 08 Jan 2008 16:38:15 -0000
> rpluem@apache.org wrote:
> 
>> +    if ((len == 0) || (lineend[len - 1] != APR_ASCII_LF)) {
>>          return APR_EAGAIN;
>>      }
> 
> Isn't that a potential infinite loop?  The zero-length bucket
> will still be there next time round.

No. This is outside of the for loop and next time we have a new bucket brigade.

Regards

RĂ¼diger


Mime
View raw message