]> granicus.if.org Git - neomutt/commit
fix: index in pager crash
authorRichard Russon <rich@flatcap.org>
Sat, 26 Nov 2016 11:20:16 +0000 (11:20 +0000)
committerRichard Russon <rich@flatcap.org>
Sat, 26 Nov 2016 11:20:19 +0000 (11:20 +0000)
commit0b6b7666c95e00e971e540e1ca5c626954f45af1
treeb837e6253afb13509c65b1b9b61b201b1f008064
parent471c4b03b453608d84dc9b2adf5bbd87d95b424c
fix: index in pager crash

The steps to reproduce this were:
- open a mail
- change the underlying maildir while the mail is open
- reply to the mail

I can't reproduce the original crash, but it happened when the index was
being redrawn.  One of the "Context->hdrs" was NULL causing
index_make_entry to crash.
curs_main.c