[git] GPGME - branch, master, updated. gpgme-1.9.0-10-g5d4f977

by Igor Gnatenko cvs at cvs.gnupg.org
Mon Apr 3 12:05:15 CEST 2017


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  5d4f977dac542340c877fdd4b1304fa8f6e058e6 (commit)
      from  f8a9ecc6290ebd73fa36647cdfca285fe4d94a62 (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 5d4f977dac542340c877fdd4b1304fa8f6e058e6
Author: Igor Gnatenko <ignatenkobrain at fedoraproject.org>
Date:   Wed Mar 29 07:20:51 2017 +0200

    qt: pass fmt to gpgrt_asprintf()
    
    * lang/qt/src/dn.cpp (parse_dn_part): Add fmt argument instead of
    using name directly.
    
    GnuPG-Bug-Id: 3023
    Signed-off-by: Igor Gnatenko <ignatenkobrain at fedoraproject.org>
    Signed-off-by: Andre Heinecke <aheinecke at intevation.de>

diff --git a/lang/qt/src/dn.cpp b/lang/qt/src/dn.cpp
index f9fb2f6..4310ad6 100644
--- a/lang/qt/src/dn.cpp
+++ b/lang/qt/src/dn.cpp
@@ -167,7 +167,7 @@ parse_dn_part(DnPair *array, const unsigned char *string)
     for (unsigned int i = 0; i < numOidMaps; ++i)
         if (!strcasecmp((char *)p, oidmap[i].oid)) {
             free(p);
-            gpgrt_asprintf(&p, oidmap[i].name);
+            gpgrt_asprintf(&p, "%s", oidmap[i].name);
             break;
         }
     array->key = p;

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

Summary of changes:
 lang/qt/src/dn.cpp | 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