gnunet-svn
[Top][All Lists]
Advanced

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

[exchange] branch master updated: memset either array if either array is


From: Admin
Subject: [exchange] branch master updated: memset either array if either array is non-empty, not only if both are non-empty
Date: Thu, 12 Jun 2025 22:28:37 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 7afece32a memset either array if either array is non-empty, not only 
if both are non-empty
7afece32a is described below

commit 7afece32ac984ff15f3226785ce8337bb381f1ea
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Jun 12 22:28:19 2025 +0200

    memset either array if either array is non-empty, not only if both are 
non-empty
---
 src/exchange/taler-exchange-httpd_keys.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_keys.c 
b/src/exchange/taler-exchange-httpd_keys.c
index cf865ce9e..d20d3453e 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -3581,12 +3581,14 @@ TEH_keys_denomination_batch_sign (
     }
   }
 
-  if ( (0 != csrs_pos) &&
-       (0 != rsrs_pos) )
+  if (0 != rsrs_pos)
   {
     memset (rs,
             0,
             sizeof (rs));
+  }
+  if (0 != csrs_pos)
+  {
     memset (cs,
             0,
             sizeof (cs));

-- 
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]