[git] GPGME - branch, master, updated. gpgme-1.12.0-131-g4c49417

by Werner Koch cvs at cvs.gnupg.org
Tue Feb 19 12:11:50 CET 2019


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 Made Easy".

The branch, master has been updated
       via  4c49417cc0dbd7f34269aff00fccafba150af744 (commit)
      from  f8312d7c333193582dcb5816198219b9564023f0 (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 4c49417cc0dbd7f34269aff00fccafba150af744
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Feb 19 12:11:22 2019 +0100

    core,w32: Fix missing sentinel in dir name builder.
    
    * src/w32-util.c (_gpgme_get_gpgconf_path): Add NULL top strconcat.
    --
    
    Fortunately this is called early and the stack like cleared out so
    that we have not seen wrong behaviour until now.  We should really fix
    all these annoying HANDLE/int cast warnings and alike so that real
    bugs are not drowned by them.
    
    GnuPG-bug-id: 4369
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/src/w32-util.c b/src/w32-util.c
index e37fb43..9802d9c 100644
--- a/src/w32-util.c
+++ b/src/w32-util.c
@@ -601,7 +601,7 @@ _gpgme_get_gpgconf_path (void)
   /* 5. Try to find gpgconf.exe relative to us.  */
   if (!gpgconf && inst_dir)
     {
-      char *dir = _gpgme_strconcat (inst_dir, "\\..\\..\\GnuPG\\bin");
+      char *dir = _gpgme_strconcat (inst_dir, "\\..\\..\\GnuPG\\bin", NULL);
       gpgconf = find_program_in_dir (dir, name);
       free (dir);
     }

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

Summary of changes:
 src/w32-util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list