2004-03-03
2004-03-03 16:04:00 by Anders Johansson <anders@roxen.com>
-
f2dfc7b7eca470c6dfd7c8771429383444bc794b
(11 lines)
(+8/-3)
[
Show
| Annotate
]
Branch: 3.4
Fixed the fix for [bug 3367 (#3367)].
Rev: server/base_server/configuration.pike:1.536
5:
// @appears Configuration
//! A site's main configuration
- constant cvs_version = "$Id: configuration.pike,v 1.535 2004/02/17 20:50:11 mast Exp $";
+ constant cvs_version = "$Id: configuration.pike,v 1.536 2004/03/03 16:04:00 anders Exp $";
#include <module.h>
#include <module_constants.h>
#include <roxen.h>
1439: Inside #if defined(MODULE_LEVEL_SECURITY)
{
#ifdef MODULE_LEVEL_SECURITY
int oslevel = slevel;
- slevel = security_level_cache[ Roxen.get_owning_module (find_internal) ][1];
+ array slca;
+ if(slca = security_level_cache[ Roxen.get_owning_module (find_internal) ])
+ slevel = slca[1];
// security_level_cache from
// check_security
id->misc->seclevel = slevel;
1561: Inside #if defined(MODULE_LEVEL_SECURITY)
{
#ifdef MODULE_LEVEL_SECURITY
int oslevel = slevel;
- slevel = security_level_cache[ Roxen.get_owning_module (tmp[1]) ][1];
+ array slca;
+ if(slca = security_level_cache[ Roxen.get_owning_module (tmp[1]) ])
+ slevel = slca[1];
// security_level_cache from
// check_security
id->misc->seclevel = slevel;