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

Re: commit: ldap/servers/slapd syncrepl.c



quanah@OpenLDAP.org wrote:
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd

Modified Files:
      Tag: OPENLDAP_REL_ENG_2_4
	syncrepl.c  1.254.2.9 -> 1.254.2.10

Log Message:
make sure n,o are non-zero, so j is initialized (coverity)

Just a note for future consideration - the only way an attribute could have zero values here is if someone was doing an attrsonly search. Currently the syncrepl config allows you to perform such a search. It doesn't make much sense to me to do this though, perhaps we should eliminate that option.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/