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

Skip to content

Conversation

@ThomasAdam
Copy link
Contributor

@ThomasAdam ThomasAdam commented Nov 12, 2025

  • What does this PR do?

In some cases, calling imap_edata_get() can return NULL, if the corresponding edata field is NULL.

Don't segfault in this case.

What I cannot determine here, is why the call to imap_edata_get() has edata == NULL and I can't track that down. That would be the preferred fix here, but since this issue comes up once in a blue moon, I thought I'd post this here to indicate the issue...

In some cases, calling imap_edata_get() can return NULL, if the
corresponding edata field is NULL.

Don't segfault in this case.
@flatcap flatcap merged commit 27d5cf5 into neomutt:main Dec 9, 2025
13 checks passed
@flatcap flatcap added the type:bug Bug label Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants