View Issue Details

IDProjectCategoryView StatusLast Update
0008242Talerexchangepublic2024-03-07 20:47
Reporterfefe Assigned ToChristian Grothoff  
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.

Relationships

child of 0008112 assignedfefe Merchant security review 

Activities

Christian Grothoff

2024-01-24 14:39

manager   ~0021024

Fixed in 852532d1..5fefd87a

Issue History

Date Modified Username Field Change
2024-01-24 13:49 fefe New Issue
2024-01-24 13:49 fefe Status new => assigned
2024-01-24 13:49 fefe Assigned To => Christian Grothoff
2024-01-24 13:49 fefe Relationship added child of 0008112
2024-01-24 14:39 Christian Grothoff Status assigned => resolved
2024-01-24 14:39 Christian Grothoff Resolution open => fixed
2024-01-24 14:39 Christian Grothoff Fixed in Version => 0.9.4
2024-01-24 14:39 Christian Grothoff Note Added: 0021024
2024-01-24 14:40 Christian Grothoff Product Version => git (master)
2024-01-24 14:40 Christian Grothoff Target Version => 0.9.4
2024-03-07 20:47 Christian Grothoff Status resolved => closed