gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix memory corruption


From: gnunet
Subject: [gnunet] branch master updated: -fix memory corruption
Date: Thu, 01 Sep 2022 15:17:59 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new dae2bc27b -fix memory corruption
dae2bc27b is described below

commit dae2bc27b4488adc27767d21d95f895eb2d9a0f3
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Sep 1 15:17:55 2022 +0200

    -fix memory corruption
---
 src/reclaim/gnunet-service-reclaim_tickets.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/reclaim/gnunet-service-reclaim_tickets.c 
b/src/reclaim/gnunet-service-reclaim_tickets.c
index 5d3119c6f..23b617a7f 100644
--- a/src/reclaim/gnunet-service-reclaim_tickets.c
+++ b/src/reclaim/gnunet-service-reclaim_tickets.c
@@ -741,6 +741,8 @@ rvk_move_attr_cb (void *cls,
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Adding credential %s\n",
                   new_label);
       GNUNET_free (credential);
+    } else {
+      memcpy (&new_rd[i], &rd[i], sizeof (struct GNUNET_GNSRECORD_Data));
     }
   }
   rvk->ns_qe = GNUNET_NAMESTORE_records_store (nsh,

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