Project

General

Profile

Actions

Bug #4592

closed

TLV decoder should not skip unrecognized critical TLV types

Added by Anonymous almost 6 years ago. Updated almost 6 years ago.

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.

Actions #1

Updated by Anonymous almost 6 years ago

  • Status changed from New to Closed

Changes merged to master in all libraries.

Actions

Also available in: Atom PDF