httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: svn commit: r610061 - /httpd/httpd/trunk/modules/http/http_filters.c
Date Tue, 08 Jan 2008 17:25:24 GMT
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.

if (len == 0) { remove(b); try p->prev; }


-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message