Project

General

Profile

Actions

Bug #4229

closed

ForwarderStatus: counter types should be platform independent

Added by Junxiao Shi over 6 years ago. Updated almost 6 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.

Actions #1

Updated by Junxiao Shi almost 6 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
Actions #2

Updated by Davide Pesavento almost 6 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF