Project

General

Profile

Bug #4229

ForwarderStatus: counter types should be platform independent

Added by Junxiao Shi over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Management
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

Currently, some counters in ForwarderStatus are declared as size_t type.
If NFD is compiled as 64-bit but a client program is linked with 32-bit ndn-cxx library, in case a counter exceeds 32-bit range, the client program would be unable to decode the ForwarderStatus struct.
These counters should be changed to uint64_t type.

#1

Updated by Junxiao Shi over 2 years ago

  • Status changed from New to Code review
  • Assignee set to Junxiao Shi
  • Target version set to v0.7
  • % Done changed from 0 to 100
#2

Updated by Davide Pesavento over 2 years ago

  • Status changed from Code review to Closed

Also available in: Atom PDF