From: Pietro Cerutti Date: Thu, 22 Aug 2019 15:36:45 +0000 (+0000) Subject: Fix segfault in bounce X-Git-Tag: 2019-10-25~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d1ed85318c761112d54ea12c40fc87823e2298f;p=neomutt Fix segfault in bounce Fixes #1735 --- diff --git a/smtp.c b/smtp.c index 5ce8a6fd0..0fc805d3f 100644 --- a/smtp.c +++ b/smtp.c @@ -303,6 +303,11 @@ static bool address_uses_unicode(const char *a) */ static bool addresses_use_unicode(const struct AddressList *al) { + if (!al) + { + return false; + } + struct Address *a = NULL; TAILQ_FOREACH(a, al, entries) {