Re: [PATCH] mx_check_mailbox: prevent dereferencing a null pointer

2016-09-21 Thread Kevin J. McCarthy
On Wed, Sep 21, 2016 at 10:55:49PM +0200, Eike Rathke wrote: > This happened when in an IMAP index view the underlying connection was > terminated, ctx->mx_ops was NULL and thus accessing ctx->mx_ops->check > segfaulted. Thanks Eike. This was my fault in commit 01541185e6f4, as I forgot IMAP

[PATCH] mx_check_mailbox: prevent dereferencing a null pointer

2016-09-21 Thread Eike Rathke
This happened when in an IMAP index view the underlying connection was terminated, ctx->mx_ops was NULL and thus accessing ctx->mx_ops->check segfaulted. # HG changeset patch # User Eike Rathke # Date 1474491061 -7200 # Wed Sep 21 22:51:01 2016 +0200 # Node ID