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

spurious mutex_unlock in daemon.c (ITS#2746)



Full_Name: Howard Chu
Version: 2.2.1
OS: Linux
URL: 
Submission from: (NULL) (24.126.120.178)
Submitted by: hyc


In slapd/daemon.c line 1357 the syncrepl_rq.rq_mutex is unlocked multiple times
inside a while() loop, but the lock is only obtained once, outside the loop. The
lock is also unconditionally unlocked at line 1364.