]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-ldap: Fixed assert-crash when killing LDAP connection.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 12 May 2016 21:45:34 +0000 (17:45 -0400)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 19 May 2016 08:48:20 +0000 (11:48 +0300)
commitb6d4252dc8c01b45055796ad290f3fd7cb5ff88a
tree6000f0be58ca9d9f4ca6f05aae8b1c5a28d288d9
parent72c15660f6caaf0fab9682e290a50dc9e3b7097b
lib-ldap: Fixed assert-crash when killing LDAP connection.

libldap may have already closed the fd, so with epoll io_remove() would
try to remove it and crash with:

Panic: epoll_ctl(del, 12) failed: Bad file descriptor
src/lib-ldap/ldap-connection.c