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)

Metadata

Metadata

Assignees

No one assigned

    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