Changeset 668:5f5a3421faaa for attach.c

Show
Ignore:
Timestamp:
1998-12-28 06:59:04 (10 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Fix a segmentation fault when viewing message/rfc822 attachments
from the compose screen.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r636 r668  
    315315  is_message = mutt_is_message_type(a->type, a->subtype); 
    316316#ifdef _PGPPATH 
    317   if (is_message && (a->hdr->pgp & PGPENCRYPT) && !pgp_valid_passphrase()) 
     317  if (is_message && a->hdr && (a->hdr->pgp & PGPENCRYPT) && !pgp_valid_passphrase()) 
    318318    return (rc); 
    319319#endif /* _PGPPATH */