From: Mehdi Abaakouk Date: Thu, 15 Nov 2018 06:56:48 +0000 (+0100) Subject: imap: ensure account flags are zero'ed X-Git-Tag: 2019-10-25~529^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bec235ea4186f89bdd19961e4c1d10c0e705844;p=neomutt imap: ensure account flags are zero'ed --- diff --git a/imap/util.c b/imap/util.c index ff90efe8d..c979d7630 100644 --- a/imap/util.c +++ b/imap/util.c @@ -581,6 +581,7 @@ int imap_parse_path2(const char *path, struct ConnAccount *account, char *mailbo } /* Defaults */ + memset(account, 0, sizeof(struct ConnAccount)); account->port = ImapPort; account->type = MUTT_ACCT_TYPE_IMAP;