View Issue Details

IDProjectCategoryView StatusLast Update
0008242Talerexchangepublic2024-03-07 19:47
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 Version0.9.4Fixed in Version0.9.4 
Summary0008242: TALER_EXCHANGE_account_merge: memory leak
DescriptionThis is in exchange/src/lib/exchange_api_purse_merge.c

354 reserve_url = TALER_reserve_make_payto (pch->provider_url,
355 &pch->reserve_pub);

396 merge_obj = GNUNET_JSON_PACK (
397 GNUNET_JSON_pack_string ("payto_uri",
398 reserve_url),
399 GNUNET_JSON_pack_data_auto ("merge_sig",
400 &pch->merge_sig),
401 GNUNET_JSON_pack_data_auto ("reserve_sig",
402 &pch->reserve_sig),
403 GNUNET_JSON_pack_timestamp ("merge_timestamp",
404 merge_timestamp));
405 GNUNET_assert (NULL != merge_obj);

reserve_url is not freed after this.
GNUNET_JSON_pack_string calls json_string which makes a copy.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

child of 0008112 implementingoec Merchant security review 

Activities

Christian Grothoff

2024-01-24 13:39

manager   ~0021024

Fixed in 852532d1..5fefd87a

Issue History

Date ModifiedUsernameFieldChange
2024-01-24 12:49fefeNew Issue
2024-01-24 12:49fefeStatusnew => assigned
2024-01-24 12:49fefeAssigned To => Christian Grothoff
2024-01-24 12:49fefeRelationship addedchild of 0008112
2024-01-24 13:39Christian GrothoffStatusassigned => informing
2024-01-24 13:39Christian GrothoffResolutionopen => fixed
2024-01-24 13:39Christian GrothoffFixed in Version => 0.9.4
2024-01-24 13:39Christian GrothoffNote Added: 0021024
2024-01-24 13:40Christian GrothoffProduct Version => git (master)
2024-01-24 13:40Christian GrothoffTarget Version => 0.9.4
2024-03-07 19:47Christian GrothoffStatusinforming => closed