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

meta bind bug (ITS#3171)



Full_Name: Pavel Gashev
Version: 2.2.11
OS: FC1
URL: ftp://ftp.openldap.org/incoming/pax-20040603-2.patch
Submission from: (NULL) (213.247.162.77)


Different threads use the same memory object (lc->conns->ld) while binding to
remote meta url. So if remote host is unreachable (network-timeout or TCP
connect timeout) first thread disposes lc->conns->ld even if another thread keep
trying to connect. So SIGSEGV as result.

I think the bind process should be locked.