]> granicus.if.org Git - neomutt/commit
Check for NULL mx_ops in mx.c
authorKevin McCarthy <kevin@8t8.us>
Wed, 21 Sep 2016 20:51:01 +0000 (22:51 +0200)
committerRichard Russon <rich@flatcap.org>
Sun, 2 Oct 2016 14:50:13 +0000 (15:50 +0100)
commit96dc4134dc7e4b25e2e5f922323e815a8fb5fc35
treedfa492a71c1cb83768fb7fe8255008504b9d92dd
parent4fcaf813317f53d1b4b59bb3c2cabc8646056dab
Check for NULL mx_ops in mx.c

Eike Rathke reported this happening 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 also to Eike Rathke for the initial patch, for which I expanded
the checks to other functions.
mx.c