[bug+patch] crash when crypto protocol is not found



Hi all,

as a bad side effect of excessive cut'n'paste in my last big crypto patch, I guess I removed a source line which makes balsa crash reliably when a message signed with an unavailable crypto protocol is opened. Shame on me! The obvious fix (a one liner..) is below. :-)

Cheers, Albrecht.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
      Phone (+49) 228 6199571  -  mailto:albrecht dress arcor de
_________________________________________________________________________

--- balsa/src/balsa-message.c	2004-09-26 14:19:59.000000000 +0200
+++ balsa-rfc3156/src/balsa-message.c	2004-09-27 21:19:07.000000000 +0200
@@ -4693,6 +4693,7 @@
 	     LIBBALSA_INFORMATION_WARNING : LIBBALSA_INFORMATION_MESSAGE,
 	     _("The message sent by %s with subject \"%s\" contains a %s "
 	       "signed part, but this crypto protocol is not available."),
+	     chk_crypto->sender, chk_crypto->subject,
 	     signres & LIBBALSA_PROTECT_RFC3156 ? _("PGP") : _("S/MIME"));
 	return;
     }

Attachment: pgpiMqPEeI1Hg.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]