Date: Wed, 6 Mar 2002 15:44:52 +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: <20020306124449.GB99728@nagual.pp.ru> In-Reply-To: <20020305110659.GA77856@nagual.pp.ru> References: <20020302202437.A1078@gate.sim.ionidea.com> <20020302184656.GA32218@nagual.pp.ru> <20020305125548.A92735@ark.cris.net> <20020305110659.GA77856@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 05, 2002 at 14:07:01 +0300, Andrey A. Chernov wrote: > On Tue, Mar 05, 2002 at 12:55:48 +0200, Alexey Zelkin wrote: > > > Actually I think it was not good idea to > > add this check each time on catgets() and will move this check to > > catalog loading stage. > > Ok, I could live with that. On second thought, not quite so. catgets() not load whole message catalog once but do it part-by-part. It means, that if I want small string from one section, whole section will be scanned, and if I want another one from another section, it will be scanned too, and it repeats. It means that sections list must be maintained indicating which sections are already scanned and which are not yet. -- 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?20020306124449.GB99728>