[git] GpgOL - branch, master, updated. gpgol-2.2.0-39-gc30b7ee

by Andre Heinecke cvs at cvs.gnupg.org
Mon Jul 9 15:39:30 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  c30b7ee64a1a84210301fe6619a586b4e8b507df (commit)
       via  a81fe738434c3c28d6cda6c27f1d2a538c5277e8 (commit)
       via  c60bc77de1bc8ab1dc6bad0a586b941ca678e63f (commit)
      from  1fbcd7cbfca750057fd8cb620257adb0a8f201ca (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 c30b7ee64a1a84210301fe6619a586b4e8b507df
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Jul 9 15:37:28 2018 +0200

    Fix crash for attachment names > 76 chars
    
    * src/rfc2047parse.c (rfc2047_decode_tokens): Use return
    value of realloc.
    
    --
    This was introduced by me when porting rfc2047parse away from
    glib. *blushes*
    
    GnuPG-Bug-Id: T4062

diff --git a/src/rfc2047parse.c b/src/rfc2047parse.c
index 5c96467..56e5dba 100644
--- a/src/rfc2047parse.c
+++ b/src/rfc2047parse.c
@@ -556,7 +556,7 @@ rfc2047_decode_tokens (rfc2047_token *tokens, size_t buflen)
           /* make sure our temporary output buffer is large enough... */
           if (len > tmplen)
             {
-              xrealloc (outbuf, len + 1);
+              outbuf = xrealloc (outbuf, len + 1);
               tmplen = len + 1;
             }
 

commit a81fe738434c3c28d6cda6c27f1d2a538c5277e8
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Jul 9 15:16:07 2018 +0200

    tests: Don't override GNUPGHOME in run-parser
    
    * tests/run-parser.c (main): Don't override the GNUPGHOME
    
    --
    This was useful back when I ran the parser test mostly on
    KMail's testcorpus but now when I use it to debug other
    errors it is better to let the user set the homedir.

diff --git a/tests/run-parser.cpp b/tests/run-parser.cpp
index 746742b..f759496 100644
--- a/tests/run-parser.cpp
+++ b/tests/run-parser.cpp
@@ -46,7 +46,6 @@ int main(int argc, char **argv)
   msgtype_t msgtype = MSGTYPE_UNKNOWN;
   FILE *fp_in = NULL;
 
-  putenv ((char*) "GNUPGHOME=" GPGHOMEDIR);
   gpgme_check_version (NULL);
 
   if (argc)

commit c60bc77de1bc8ab1dc6bad0a586b941ca678e63f
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Jul 9 15:09:13 2018 +0200

    Fix linux build
    
    * src/parsecontroller.cpp (ParseController::parse): Ifdef
    native encoding workaround.

diff --git a/src/parsecontroller.cpp b/src/parsecontroller.cpp
index d61fc69..a984b6d 100644
--- a/src/parsecontroller.cpp
+++ b/src/parsecontroller.cpp
@@ -394,7 +394,7 @@ ParseController::parse()
                   break;
                 }
             }
-
+#ifdef HAVE_W32_SYSTEM
           if (allBad)
             {
               log_debug ("%s:%s:%p inline verify error trying native to utf8.",
@@ -442,6 +442,7 @@ ParseController::parse()
                   m_verify_result = ctx->verifyOpaqueSignature(input, output);
                 }
             }
+#endif
         }
     }
   delete ctx;

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

Summary of changes:
 src/parsecontroller.cpp | 3 ++-
 src/rfc2047parse.c      | 2 +-
 tests/run-parser.cpp    | 1 -
 3 files changed, 3 insertions(+), 3 deletions(-)


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




More information about the Gnupg-commits mailing list