[git] GpgOL - branch, master, updated. gpgol-1.4.0-6-g7f0a05e

by Andre Heinecke cvs at cvs.gnupg.org
Mon Aug 15 10:47:16 CEST 2016


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  7f0a05e9133d8e16f42fad6b972732197978d55b (commit)
       via  657c99a1bdae8625a06f2baa30d06334ffe1af53 (commit)
      from  c8cdb4c9a9bb590b8785b483cf71657e20e0b92d (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 7f0a05e9133d8e16f42fad6b972732197978d55b
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Aug 15 10:45:13 2016 +0200

    Fix sign only preselection
    
    * src/mailitem-events.cpp (MailItemEvents Open): Init draft_flags.
    
    --
    If sign and not encrypt was selected draft_flags was used uninitalized.
    
    GnuPG-Bug-Id: 2341

diff --git a/src/mailitem-events.cpp b/src/mailitem-events.cpp
index ddeecfc..6919b14 100644
--- a/src/mailitem-events.cpp
+++ b/src/mailitem-events.cpp
@@ -135,7 +135,7 @@ EVENT_SINK_INVOKE(MailItemEvents)
       case Open:
         {
           LPMESSAGE message;
-          int draft_flags;
+          int draft_flags = 0;
           if (!opt.encrypt_default && !opt.sign_default)
             {
               return S_OK;

commit 657c99a1bdae8625a06f2baa30d06334ffe1af53
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Aug 15 10:44:27 2016 +0200

    Fix minor typo in eventsink debug
    
    * src/eventsink.h: tdor->dtor

diff --git a/src/eventsink.h b/src/eventsink.h
index 83e6772..26aaad8 100644
--- a/src/eventsink.h
+++ b/src/eventsink.h
@@ -92,7 +92,7 @@ STDMETHODIMP subcls::Invoke (DISPID dispid, REFIID riid, LCID lcid,      \
 #define EVENT_SINK_DEFAULT_DTOR_CODE(subcls)                             \
 {                                                                        \
   if (debug_oom)                                                         \
-    log_debug ("%s:" #subcls ":%s: tdor", SRCNAME, __func__);            \
+    log_debug ("%s:" #subcls ":%s: dtor", SRCNAME, __func__);            \
   if (m_pCP)                                                             \
     m_pCP->Unadvise(m_cookie);                                           \
   if (m_object)                                                          \

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

Summary of changes:
 src/eventsink.h         | 2 +-
 src/mailitem-events.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


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




More information about the Gnupg-commits mailing list