View Issue Details

IDProjectCategoryView StatusLast Update
0005685Talerexchangepublic2019-04-10 11:25
Reporternikita 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 Version0.5 
Target Version0.6Fixed in Version0.6 
Summary0005685: test_exchangedb.c gnunet_memcmp refactoring question
DescriptionIn ./src/exchangedb/test_exchangedb.c, function check_refresh_reveal_cb,
is it appropriate to replace the last memcmp with GNUNET_memcmp (in line ~440 (lines number
might differ I have unpushed changed))?

GNUNET_assert (0 ==
                             memcmp (tprivs,
                                              tprivsr,
                                              sizeof (struct TALER_TransferPrivateKeyP) * (TALER_CNC_KAPPA - 1)));

tprivsr is const struct TALER_TransferPrivateKeyP,
tprivs is static struct TALER_TransferPrivateKeyP.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2019-04-08 19:59

manager   ~0014277

Yes, there the old memcmp has to stay, as we're comparing arrays.

nikita

2019-04-08 20:12

reporter   ~0014278

Hm, I see.

Issue History

Date ModifiedUsernameFieldChange
2019-04-08 18:11nikitaNew Issue
2019-04-08 18:11nikitaStatusnew => assigned
2019-04-08 18:11nikitaAssigned To => Christian Grothoff
2019-04-08 19:59Christian GrothoffNote Added: 0014277
2019-04-08 20:12nikitaNote Added: 0014278
2019-04-10 11:24Christian GrothoffStatusassigned => closed
2019-04-10 11:24Christian GrothoffResolutionopen => fixed
2019-04-10 11:24Christian GrothoffFixed in Version => 0.6
2019-04-10 11:25Christian GrothoffProduct Version => 0.5
2019-04-10 11:25Christian GrothoffTarget Version => 0.6