[git] GnuPG - branch, master, updated. gnupg-2.1.9-7-g128a456

by Neal H. Walfield cvs at cvs.gnupg.org
Sun Oct 18 19:12:58 CEST 2015


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 "The GNU Privacy Guard".

The branch, master has been updated
       via  128a456e775edf393d47e40bb9ae8b62434e2978 (commit)
      from  f77913e0ff7be4cd9c6337a70ac715e6f4a43572 (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 128a456e775edf393d47e40bb9ae8b62434e2978
Author: Neal H. Walfield <neal at g10code.com>
Date:   Sun Oct 18 19:08:18 2015 +0200

    g10: Fix assert.
    
    * g10/tofu.c (get_trust): Fix assert.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>.

diff --git a/g10/tofu.c b/g10/tofu.c
index 39377cb..b8705d7 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -1676,7 +1676,7 @@ get_trust (struct db *dbs, const char *fingerprint, const char *email,
 	    if (choice)
 	      {
 		int c = ((size_t) choice - (size_t) choices) / 2;
-		assert (0 <= c && c <= 3);
+		assert (0 <= c && c <= 4);
 
 		switch (c)
 		  {

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

Summary of changes:
 g10/tofu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list