fix segfault on opening a mime part
authorPaul Mangan <paul@claws-mail.org>
Thu, 28 Feb 2002 10:59:50 +0000 (10:59 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 28 Feb 2002 10:59:50 +0000 (10:59 +0000)
AUTHORS
ChangeLog.claws
configure.in
src/mimeview.c

diff --git a/AUTHORS b/AUTHORS
index 12490e8..dace2f6 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -119,3 +119,4 @@ contributors (beside the above; based on Changelog)
        Oliver Haertel
        Bob Forsman
        Ville Skytt√§
+       Fredrik Olofsson
index 70016d6..2dcfde3 100644 (file)
@@ -1,3 +1,10 @@
+2002-02-28 [paul]      0.7.2claws20
+
+       * src/mimeview.c
+               hopefully fix segfault on right-clicking a mime part
+               that some people have experienced.      
+               fix submitted by Fredrik Olofsson <frol@linux.nu>
+
 2002-02-28 [paul]      0.7.2claws19
 
        * sync with sylpheed 0.7.2cvs21
index 9edc574..e3ab4f8 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws19
+EXTRA_VERSION=claws20
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 963b556..850b95b 100644 (file)
@@ -226,8 +226,8 @@ void mimeview_init(MimeView *mimeview)
 #if USE_GPGME
 static gboolean mimeview_is_signed(MimeView *mimeview)
 {
-       MimeInfo *partinfo;
-       MsgInfo *msginfo;
+       MimeInfo *partinfo = NULL;
+       MsgInfo *msginfo = NULL;
 
         debug_print("mimeview_is signed of %p\n", mimeview);