See ticket #140.
The behavior is generating a false 'F' flag for a spam message with an
unparsable From address.
After reviewing the callers, I can't see a reason returning 'yes' in
this case.
Commit
690c2945 fixed a potential segv issue, but the other callers
seem robust against this change in behavior.
{
const char *fqdn;
- /* NULL address is assumed to be the user. */
if (!addr)
{
- dprint (5, (debugfile, "mutt_addr_is_user: yes, NULL address\n"));
- return 1;
+ dprint (5, (debugfile, "mutt_addr_is_user: no, NULL address\n"));
+ return 0;
}
if (!addr->mailbox)
{