1. Steve Losh
  2. hg-review-mutt-test

Commits

Brendan Cully  committed cc02f07

Guard dequote with NULL check on personal field

  • Participants
  • Parent commits 165b998
  • Branches HEAD

Comments (0)

Files changed (1)

File copy.c

View file
   mutt_addrlist_to_local (a);
   rfc2047_decode_adrlist (a);
   for (cur = a; cur; cur = cur->next)
-    rfc822_dequote_comment (a->personal);
+    if (a->personal)
+      rfc822_dequote_comment (a->personal);
 
   /* angle brackets for return path are mandated by RfC5322,
    * so leave Return-Path as-is */