Actions
Bug #4592
closedTLV decoder should not skip unrecognized critical TLV types
Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
04/23/2018
Due date:
% Done:
0%
Estimated time:
Description
The NDN packet format specification defines which TLV types codes are critical and cannot be ignored if unrecognized.
https://named-data.net/doc/NDN-packet-spec/current/tlv.html#considerations-for-evolvability-of-tlv-based-encoding
But the method TlvDecoder.finishNestedTlvs skips all remaining unrecognized TLV fields, including those with critical type codes. It should throw an exception by default with an optional flag to skip unrecognized critical type codes.
Updated by Anonymous over 6 years ago
- Status changed from New to Closed
Changes merged to master in all libraries.
Actions