View Issue Details

IDProjectCategoryView StatusLast Update
0006782Talerexchange API (C)public2021-03-04 11:20
Reportersebasjm Assigned ToChristian Grothoff  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0006782: /private/transfers crash
Descriptionin TMH_private_get_transfers:109

  payto_uri = MHD_lookup_connection_value (connection,
                                           MHD_GET_ARGUMENT_KIND,
                                           "payto_uri");

payto_uri gets null and crash at

plugin_merchantdb_postgres.c:4307

should postgres_lookup_transfers support payto with null or TMH_private_get_transfers use empty when param is not set?
Steps To Reproduce$ curl https://backend.demo.taler.net/instances/GNUnet/private/transfers
TagsNo tags attached.

Activities

Christian Grothoff

2021-03-04 11:15

manager   ~0017593

Yes, NULL for payto_uri is supported, just the DB plugin hates it. Will fix.

Christian Grothoff

2021-03-04 11:20

manager   ~0017594

Fixed in 9f9d247..3923209

Issue History

Date Modified Username Field Change
2021-03-03 21:14 sebasjm New Issue
2021-03-03 21:14 sebasjm Status new => assigned
2021-03-03 21:14 sebasjm Assigned To => Christian Grothoff
2021-03-04 11:15 Christian Grothoff Note Added: 0017593
2021-03-04 11:20 Christian Grothoff Status assigned => resolved
2021-03-04 11:20 Christian Grothoff Resolution open => fixed
2021-03-04 11:20 Christian Grothoff Fixed in Version => 0.9
2021-03-04 11:20 Christian Grothoff Note Added: 0017594
2021-03-04 11:20 Christian Grothoff Target Version git (master) => 0.9