[git] GPG-ERROR - branch, master, updated. libgpg-error-1.25-11-g140a196

by Werner Koch cvs at cvs.gnupg.org
Fri Dec 2 22:59:39 CET 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 "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  140a19617c78d5f0e2ac8d7e2c8e7092862ec2fb (commit)
      from  c761c981b38741421d13bb7102b1ea7625d2d639 (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 140a19617c78d5f0e2ac8d7e2c8e7092862ec2fb
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Dec 2 22:57:09 2016 +0100

    Fix NULL segv in new option --desc
    
    * src/gpg-error.c (print_desc): Shortcur for unknown symbols.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/src/gpg-error.c b/src/gpg-error.c
index 4a09e1d..f890883 100644
--- a/src/gpg-error.c
+++ b/src/gpg-error.c
@@ -381,6 +381,9 @@ print_desc (const char *symbol)
   int blanklines = 0;
   int last_was_keyword = 0;
 
+  if (!symbol)
+    return;
+
   if (!initialized)
     {
       initialized = 1;

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

Summary of changes:
 src/gpg-error.c | 3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list