From: Quanah Gibson-Mount Date: Mon, 17 Nov 2008 23:45:20 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: ACLCHECK_0~1081 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=911376e5433bbd40e4b7a83a4bb3d626142f5b8e;p=openldap Fix prev commit --- diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index deca8dce9f..3a03c6a8df 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_val ); + dli->dli_ad->ad_cname.bv_len ); for ( dlm = dli->dli_dlm; dlm; dlm = dlm->dlm_next ) { ptr[ 0 ] = ' ';