]> granicus.if.org Git - neomutt/commit
Avoid segfault when listing mailboxes on startup.
authorJohn Swinbank <john@swinbank.org>
Sun, 11 Sep 2016 00:15:42 +0000 (20:15 -0400)
committerRichard Russon <rich@flatcap.org>
Sun, 11 Sep 2016 00:25:37 +0000 (01:25 +0100)
commit4f510cf69e9a236e512733e18e1ba56aaf182534
treeb6b8bd64690199678d00c20ed88f8091b8628f4d
parent5521cc7432511a8c5957a1b960c686079f93c928
Avoid segfault when listing mailboxes on startup.

When mutt is started with the -y flag, _mutt_select_file() is called while
CurrentFolder is a null pointer. If that's the case, we shouldn't try to use
it.

Closes: #137
browser.c