At times messages from the message store may be incomplete and not
contain the sender. This is unexpected, but should not crash the
application.
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x55f3cee9b99e]
panic({0x55f3cf118720?, 0x55f3cf72e6f0?})
runtime/panic.go:783 +0x132
git.sr.ht/~rjarry/aerc/commands/msg.Mark.Execute.senderFilter.func2({0xc0019c4000, 0x801, 0x0?})
git.sr.ht/~rjarry/aerc/commands/msg/mark.go:180 +0x1fe
git.sr.ht/~rjarry/aerc/commands/msg.Mark.Execute({0x1, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, {0xc00190eb70, 0x7}}, {0xc001542810, ...})
git.sr.ht/~rjarry/aerc/commands/msg/mark.go:106 +0x68c
git.sr.ht/~rjarry/aerc/commands.ExecuteCommand({0x55f3cf21c8f0, 0x55f3cf8cd220?}, {0xc00190ea90?, 0x500c000fb2300?})
git.sr.ht/~rjarry/aerc/commands/commands.go:221 +0x4d3
Fixes: 6baffcda ("mark: add filter-based marking")
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>