You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/03/27 12:44:20 UTC

[Bug 62223] httpd-2.4.33/modules/cache/mod_cache_socache.c:217]: limit check in wrong place ?

https://bz.apache.org/bugzilla/show_bug.cgi?id=62223

--- Comment #1 from Yann Ylavic <yl...@gmail.com> ---
The goal is to not go above the '\r' here (which is the end of the buffer but
still in the bounds).

So you raise a good optimization point since the last
apr_isspace(buffer[colon]) check is always true/useless when colon == *slider
(and colon < *slider is probably a cheaper test), but it's not an out of bounds
issue, right?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org