[git] GPGME - branch, master, updated. gpgme-1.7.0-35-g098a2da

by Andre Heinecke cvs at cvs.gnupg.org
Mon Oct 10 12:27:40 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 Made Easy".

The branch, master has been updated
       via  098a2da15b1b46b145add623dec0488abd39bd74 (commit)
      from  0ea2ff67900c243fff9f689658dcb23d1c0961cd (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 098a2da15b1b46b145add623dec0488abd39bd74
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Oct 10 12:19:48 2016 +0200

    core: Fix w32 crash in find_program_in_dir
    
    * src/w32-util.c (find_program_in_dir): Fix call to _gpgme_strconcat.
    
    --
    This fixes a crash introduced by dc39552d0 because it tried
    to concat a strlen.

diff --git a/src/w32-util.c b/src/w32-util.c
index 9d42139..21de6dc 100644
--- a/src/w32-util.c
+++ b/src/w32-util.c
@@ -390,7 +390,7 @@ find_program_in_dir (const char *dir, const char *name)
 {
   char *result;
 
-  result = _gpgme_strconcat (dir, "\\", strlen (name), NULL);
+  result = _gpgme_strconcat (dir, "\\", name, NULL);
   if (!result)
     return NULL;
 

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

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