dovecot-2.1: lib-master: Fixed crash on IPC client if server dis...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Feb 15 04:32:27 EET 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/5ac4a8c8545f
changeset: 14151:5ac4a8c8545f
user: Timo Sirainen <tss at iki.fi>
date: Wed Feb 15 04:32:14 2012 +0200
description:
lib-master: Fixed crash on IPC client if server disconnected unexpectedly.
diffstat:
src/lib-master/ipc-client.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r db67d0255411 -r 5ac4a8c8545f src/lib-master/ipc-client.c
--- a/src/lib-master/ipc-client.c Mon Feb 13 21:40:02 2012 +0000
+++ b/src/lib-master/ipc-client.c Wed Feb 15 04:32:14 2012 +0200
@@ -113,6 +113,7 @@
o_stream_destroy(&client->output);
if (close(client->fd) < 0)
i_error("close(%s) failed: %m", client->path);
+ client->fd = -1;
}
struct ipc_client *
More information about the dovecot-cvs
mailing list