Project

General

Profile

Actions

Feature #4895

closed

Limit TLV-TYPE range

Added by Junxiao Shi about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Current packet format allows full 64-bit range for TLV-TYPE, but this is causing implementation difficulty and bugs such as #4726.
The protocol should limit TLV-TYPE to [1, 2^32-1] range.
This is a trade-off between giving enough numbers for applications and simplifying implementations.


Related issues 1 (0 open1 closed)

Related to ndn-cxx - Bug #4726: Block class mishandles type == 0xffffffff (was: NFD crashes on unexpected input)ClosedDavide Pesavento

Actions
Actions

Also available in: Atom PDF