aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-09-01 15:17:55 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-09-01 15:17:55 +0200
commitdae2bc27b4488adc27767d21d95f895eb2d9a0f3 (patch)
treef99f35a60174eeae31a546aae158023d979a2380 /src/reclaim
parent40417a284d7d1383645cb0c7bd99c3f993bcb6ae (diff)
downloadgnunet-dae2bc27b4488adc27767d21d95f895eb2d9a0f3.tar.gz
gnunet-dae2bc27b4488adc27767d21d95f895eb2d9a0f3.zip
-fix memory corruption
Diffstat (limited to 'src/reclaim')
-rw-r--r--src/reclaim/gnunet-service-reclaim_tickets.c2
1 files changed, 2 insertions, 0 deletions
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,
741 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Adding credential %s\n", 741 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Adding credential %s\n",
742 new_label); 742 new_label);
743 GNUNET_free (credential); 743 GNUNET_free (credential);
744 } else {
745 memcpy (&new_rd[i], &rd[i], sizeof (struct GNUNET_GNSRECORD_Data));
744 } 746 }
745 } 747 }
746 rvk->ns_qe = GNUNET_NAMESTORE_records_store (nsh, 748 rvk->ns_qe = GNUNET_NAMESTORE_records_store (nsh,