View Issue Details

IDProjectCategoryView StatusLast Update
0009628Talermerchant backendpublic2025-05-10 02:11
Reporterfefe Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version1.0Fixed in Version1.0 
Summary0009628: pending_deposits_cb: memory leak
DescriptionIn taler-merchant-depositcheck.c:

   611 struct ExchangeInteraction *w
   612 = GNUNET_new (struct ExchangeInteraction);

   615 if (GNUNET_TIME_absolute_is_future (wire_deadline))
   616 {
   617 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
   618 "Pending deposit has deadline in the future at %s\n",
   619 GNUNET_TIME_absolute2s (wire_deadline));
   620 run_at (wire_deadline);
   621 return;

You forgot to free w before returning.
Alternatively you could only allocate w after this check.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2025-03-19 00:48

manager   ~0024237

Fixed in f032988cdb64f3e6424ff60321245979d2603d24

Issue History

Date ModifiedUsernameFieldChange
2025-03-18 11:55fefeNew Issue
2025-03-18 11:55fefeStatusnew => assigned
2025-03-18 11:55fefeAssigned To => Christian Grothoff
2025-03-19 00:48Christian GrothoffNote Added: 0024237
2025-03-19 00:48Christian GrothoffStatusassigned => informing
2025-03-19 00:48Christian GrothoffResolutionopen => fixed
2025-03-19 00:48Christian GrothoffFixed in Version => 1.0
2025-03-19 00:48Christian GrothoffProduct Version => git (master)
2025-03-19 00:48Christian GrothoffTarget Version => 1.0
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend
2025-05-10 02:11Christian GrothoffStatusinforming => closed