Hi, I use Mutt 1.4.1i. If I try to send an encrypted mail to someone and the key isn't automagically found, mutt shows a sorted list of the keys in my public keyring. Unfortunately, on Solaris 8 my public keyring manages to crash mutt with a SIGSEGV. I've this with the attached patch. However, I couldn't comprehend where things go really wrong and the NULL pointer is inserted. So maybe this is just a workaround. -- Christian
--- pgpkey.c 2002/01/15 09:04:28 1.1 +++ pgpkey.c 2003/11/26 12:04:06 @@ -298,6 +298,9 @@ pgp_uid_t **s = (pgp_uid_t **) a; pgp_uid_t **t = (pgp_uid_t **) b; + if (!*s || !*t) + return -1; + if ((r = mutt_strcasecmp ((*s)->addr, (*t)->addr))) return r > 0; else
Attachment:
pgpZ4cAAalp1C.pgp
Description: PGP signature