]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
doveadm: When sending server logs to client, make sure ioloop isn't set to NULL
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 20 Nov 2020 10:15:18 +0000 (12:15 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 23 Nov 2020 10:59:35 +0000 (12:59 +0200)
commitcafccc4f0f171bc639b6fb59078d80c4695f0968
tree346d17bd10aa86ff98cda596a98622f5bd86c963
parent461acf4908bc327db4bb845c00f70040c5fe5046
doveadm: When sending server logs to client, make sure ioloop isn't set to NULL

This could have happened if there was any logging done outside command
handling. For example a doveadm command used http-client, which has a
timeout that triggers logging only after the command is finished.

Fixes segfault and:
Panic: file http-client.c: line 642 (http_client_context_close): assertion failed: (cctx->clients_list == NULL)
src/doveadm/client-connection-tcp.c