ITS#7025 fix syncprov crash

init fop.o_extra, copying from s_op is not guaranteed.
This commit is contained in:
Howard Chu 2011-11-18 00:30:34 -08:00
parent 111ecbdbed
commit 278322ee5f

View file

@ -439,6 +439,7 @@ syncprov_findbase( Operation *op, fbase_cookie *fc )
fop.o_sync_mode = 0; /* turn off sync mode */
fop.o_managedsait = SLAP_CONTROL_CRITICAL;
fop.o_callback = &cb;
LDAP_SLIST_INIT( &fop.o_extra );
fop.o_tag = LDAP_REQ_SEARCH;
fop.ors_scope = LDAP_SCOPE_BASE;
fop.ors_limit = NULL;