Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@flatcap
Copy link
Member

@flatcap flatcap commented Dec 9, 2025

If the server sends untagged messages when NeoMutt is shutting down, the ImapMboxData might not exist.

KISS: Check every mdata pointer.

Fixes: #4632

@flatcap flatcap self-assigned this Dec 9, 2025
@flatcap flatcap added the bug:crash Causes NeoMutt to crash label Dec 9, 2025
If the server sends untagged messages when NeoMutt is shutting down,
the ImapMboxData might not exist.
@flatcap
Copy link
Member Author

flatcap commented Dec 10, 2025

Slight bit of creep, here.
Now it checks all the adata and mdata (and the static analysers are happy :-)

@flatcap flatcap merged commit 1449168 into main Dec 10, 2025
19 checks passed
@flatcap flatcap deleted the devel/imap branch December 10, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug:crash Causes NeoMutt to crash

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segfault in imap_msn_highest() on shutdown

2 participants