Skip to content

CBOR field strips off raw payload but not padding #5081

Description

@BrianSipos

If an individual CBOR_Packet-derived class decodes with excess data as Padding payload, it will be left in place when embedded within a CBOR_Field. Instead if it contains a Raw payload that meaningful Raw will be stripped off and treated as padding, selected below.

cpad = c.getlayer(packet.Raw)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions