More GPG fixes



Hi all,

Again some patches for GPG support... Please apply them after the patch of 
April 4th (see http://mail.gnome.org/archives/balsa-list/2003-April/
msg00035.html or my page):

* src/main-window.c:
fixes a crash when during startup an encrypted message in a mailbox (not
the last one) was opened. To illustrate this: Balsa opens 5 mailboxes 
automatically, and the last message in mb 2, 3 and 4 is encrypted. 
balsa_set_message() is called from an idle cb and protected by 
gdk_threads_{enter|leave}. In these cases, the decrypt routines are 
called, display the passphrase callback via gtk_dialog_run which in turn 
seems to fire the next idle cb. Then you end up with up to three dialogs, 
and as the "next" idle call destroyed some pointers, you get a segfault 
when closing each of them. Easy to fix (just a bool), difficult to find...

* libbalsa/rfc3156.c:
make the passphrase dialog mt safe (do we really need this?)

* libbalsa/rfc3156.[hc], src/balsa-message.c:
rember signature info for '2440 messages

* libbalsa/mime.c:
strip signature info off a '2440 message on reply/forward/... (thanks to
Carlos for his report)

* src/sendmsg-window.c:
remove crazy debug message (thanks again to Carlos)

Cheers, Albrecht.


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

balsa-rfc3156-patch-2003-04-07.bz2

PGP signature



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