Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2002 17:36:05 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Alexey Zelkin <phantom@FreeBSD.ORG>
Cc:        audit@FreeBSD.ORG
Subject:   Re: safety checking for catgets (NLS catalogs)
Message-ID:  <20020306143603.GA1145@nagual.pp.ru>
In-Reply-To: <20020306162039.A77231@ark.cris.net>
References:  <20020302202437.A1078@gate.sim.ionidea.com> <20020302184656.GA32218@nagual.pp.ru> <20020305125548.A92735@ark.cris.net> <20020305110659.GA77856@nagual.pp.ru> <20020306124449.GB99728@nagual.pp.ru> <20020306162039.A77231@ark.cris.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 06, 2002 at 16:20:39 +0200, Alexey Zelkin wrote:
> I see no reason to scan whole set if only one string is loaded. It will
> be checked once. If retrived from message catalog string is unsafe it will
> be freed from pre-loaded catalog and marked as unsafe and should not be tried
> to load again.

1) Only one string can't be loaded, whole set is loaded in any case, as I 
see. 

2) If the string will be checked once (on output) and this fact is
remembered somewhere inside set, it will be lost when next set is loaded,
so recheck required when this set will be loaded again. Only one set can
be currently active.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020306143603.GA1145>