Mercurial > dovecot > core-2.2
changeset 201:16cc35217bfb HEAD
crashfix if client closed before SSL handshake was done
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 09 Sep 2002 15:03:44 +0300 |
parents | 16ae7b6a2f0b |
children | 70646fbf2c35 |
files | src/login/ssl-proxy.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/login/ssl-proxy.c Mon Sep 09 15:02:47 2002 +0300 +++ b/src/login/ssl-proxy.c Mon Sep 09 15:03:44 2002 +0300 @@ -105,7 +105,8 @@ if (proxy->io_ssl != NULL) io_remove(proxy->io_ssl); - io_remove(proxy->io_plain); + if (proxy->io_plain != NULL) + io_remove(proxy->io_plain); i_free(proxy); return FALSE;