[Date Prev][Date Next]
(ITS#4128) back-config core dumps when initializing directory
Full_Name: Pierangelo Masarati
Submission from: (NULL) (184.108.40.206)
Submitted by: ando
When initializing back-config (either with slapd or slaptest) for an existing
directory, i.e. launching the tool/daemon with both -f and -F, slapd core dumps
because slap_queue_csn() tries to lock/unlock a NULL op->o_bd->be_pcl_mutexp
pointer. I think the "right" solution is to not request CSN management within
back-ldif when calling slap_add_opattrs() if op->o_bd->be_pcl_mutexp is NULL.
I'm committing a fix in this sense; please review.