[git] GpgOL - branch, master, updated. gpgol-2.1.1-5-gaed389f

by Andre Heinecke cvs at cvs.gnupg.org
Fri May 4 09:26:41 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG extension for MS Outlook".

The branch, master has been updated
       via  aed389f9ce639db48dcfc84cb495a2b180496207 (commit)
      from  07811afb552bfc1e51aea25a39cb52327831198b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit aed389f9ce639db48dcfc84cb495a2b180496207
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Fri May 4 09:23:38 2018 +0200

    Fix crash when looking at msgs without content type
    
    * src/mapihelp.cpp (change_message_class_ipm_note): Check
    for ct before using it in string comparison.
    
    --
    The codepath is reached for temporary, discarded mails, e.g.
    when a Reply All in the Inline editor is canceled through
    Escape.
    
    This fixes: dc48589b3d429d7d156c75b4e7bc784b140f40ce
    GnuPG-Bug-Id: T3960

diff --git a/src/mapihelp.cpp b/src/mapihelp.cpp
index 1be66b6..16e45eb 100644
--- a/src/mapihelp.cpp
+++ b/src/mapihelp.cpp
@@ -1073,7 +1073,7 @@ change_message_class_ipm_note (LPMESSAGE message)
          decide.  */
       newvalue = get_msgcls_from_pgp_lines (message, &has_no_body);
 
-      if (!newvalue && has_no_body && !strcmp (ct, "multipart/mixed"))
+      if (!newvalue && has_no_body && ct && !strcmp (ct, "multipart/mixed"))
         {
           /* This is uncommon. But some Exchanges might break a PGP/MIME mail
              this way. Let's take a look at the attachments. Maybe it's

-----------------------------------------------------------------------

Summary of changes:
 src/mapihelp.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GnuPG extension for MS Outlook
http://git.gnupg.org




More information about the Gnupg-commits mailing list