From: Pierangelo Masarati Date: Tue, 18 Nov 2008 00:12:22 +0000 (+0000) Subject: fix length X-Git-Tag: ACLCHECK_0~1080 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5cf95c5b30ccfdb5ced35b31ac67b222ac5402af;p=openldap fix length --- diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index 3a03c6a8df..9edb2b5e60 100644 --- a/servers/slapd/overlays/dynlist.c +++ b/servers/slapd/overlays/dynlist.c @@ -1260,7 +1260,7 @@ dl_cfgen( ConfigArgs *c ) *ptr++ = ' '; ptr = lutil_strncopy( ptr, dli->dli_oc->soc_cname.bv_val, - dli->dli_ad->ad_cname.bv_len ); + dli->dli_oc->soc_cname.bv_len ); for ( dlm = dli->dli_dlm; dlm; dlm = dlm->dlm_next ) { ptr[ 0 ] = ' ';