[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd/overlays dynlist.c



Hallvard B Furuseth wrote:
ando@OpenLDAP.org wrote:
	dynlist.c  1.57 -> 1.58
add optional URI to allow restricting the scope of application of a
specific dynamic list expansion rule (ITS#5761)

Bug: Third arg here should be an integer, not a string.

+                ptr = lutil_strncopy( ptr, dli->dli_oc->soc_cname.bv_val,
                     dli->dli_ad->ad_cname.bv_val );


That's just a mistake. It should be the length of the second argument, which clearly is not.


p.


Ing. Pierangelo Masarati OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------