[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Stricter checks to pcache configuration (Re: commit: ldap/servers/slapd/overlays pcache.c)
- To: OpenLDAP Devel <openldap-devel@OpenLDAP.org>
- Subject: Stricter checks to pcache configuration (Re: commit: ldap/servers/slapd/overlays pcache.c)
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Wed, 23 Nov 2005 02:14:25 +0100
- In-reply-to: <200511230015.jAN0F28w086106@cantor.openldap.org>
- References: <200511230015.jAN0F28w086106@cantor.openldap.org>
On Wed, 2005-11-23 at 00:15 +0000, ando@OpenLDAP.org wrote:
> Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/overlays
>
> Modified Files:
> pcache.c 1.62 -> 1.63
>
> Log Message:
> add some integrity checks on input, without changing syntax nor semantics (ITS#4199)
In response to ITS#4199, I've strengthened a bit the checks on pcache
input. It passes test020 fine, but the test input is well-formed; I've
checked that it traps all the malformed inputs I could imagine (in few
harmless cases it simply issues a warning); please check that I didn't
break anything. In detail, I'm unsure whether for some values 0 was
legal or not (e.g. for the ttl, for the period and so; the man page
doesn't specify anything as far as I can tell).
p.
Ing. Pierangelo Masarati
Responsabile Open Solution
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------