Skip to content

Packet private data should hold all info to allow reconstructing original of invalid packets #7

@francois-normandin

Description

@francois-normandin

Current Packet Private Data does not hold the source bytes in a way that allow recreating the original incoming bytes if we detect an invalid packet format.

Packet should hold an original copy of the input stream instead of only caching the result of the decoding.
Use invalid packet type 00 to output invalid source stream when called.

In a nutshell, this is incorrect when the validation fails.
image

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