Project

General

Profile

Bug #3200

Updated by Junxiao Shi over 6 years ago

The [NDN Packet Format](http://named-data.net/doc/ndn-tlv/interest.html#selectors) spec defines {Min,Max}SuffixComponents and ChildSelector as `nonNegativeInteger`, which can be up to **8 octets** long. 
 However, in ndn-cxx's `Selectors` class, these fields are declared as `int`, which is *usually* **32 bits** long. 

 Same problem occurs in `MetaInfo::m_type`, `SignatureInfo::m_type`, and `ControlResponse::m_code`.

Back