httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Eilebrecht <Lars.Eilebre...@unix-ag.org>
Subject [PATCH] PR#1160 - CacheDirLevels/Length limit
Date Fri, 26 Sep 1997 22:17:49 GMT
Hi,

here's again one of my infamous proxy-patches. ;-)
It fixes PR#1160.

mod_proxy uses cache-files with a size of 22 characters.
The structure of the cache directory can be manipulated via
CacheDirLevels and CacheDirLength, but Apache crashes if someone
uses values which result in a value greater than 22 for the
product of CacheDirLevels and CacheDirLength (eg. 30 for
CacheDirLength, like the user who submitted the PR).

The patch simply adds a check (on startup) to prevent such
values (and to check if the values are at least 1). 


ciao...
--
Lars Eilebrecht                          - It's been Monday all week.
sfx@unix-ag.org
http://www.si.unix-ag.org/~sfx/

Mime
View raw message