gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis-gtk] branch master updated: fix #7187


From: gnunet
Subject: [taler-anastasis-gtk] branch master updated: fix #7187
Date: Sun, 06 Mar 2022 13:31:10 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis-gtk.

The following commit(s) were added to refs/heads/master by this push:
     new 6fc48ff  fix #7187
6fc48ff is described below

commit 6fc48ff0681c195bf18d43d12513d03a306a096a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Mar 6 13:31:08 2022 +0100

    fix #7187
---
 src/anastasis/anastasis-gtk_handle-method-totp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/anastasis/anastasis-gtk_handle-method-totp.c 
b/src/anastasis/anastasis-gtk_handle-method-totp.c
index 9c44a36..2b5f090 100644
--- a/src/anastasis/anastasis-gtk_handle-method-totp.c
+++ b/src/anastasis/anastasis-gtk_handle-method-totp.c
@@ -167,8 +167,7 @@ base32enc (const void *val,
     vbit -= 5;
   }
   GNUNET_assert (0 == vbit);
-  if (wpos < val_size)
-    enc[wpos] = '\0';
+  enc[wpos] = '\0';
 }
 
 
@@ -210,6 +209,7 @@ refresh_totp (GtkBuilder *builder)
   pb = AG_setup_qrcode (GTK_WIDGET (img),
                         uri,
                         strlen (uri));
+  GNUNET_free (uri);
   if (NULL != pb)
   {
     gtk_image_set_from_pixbuf (img,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]