Skip to content

Overlapping CRYPTO frames overwrite previously received data #5819

@NErinola

Description

@NErinola

Tested Build

v2.5.5

Observation

The msquic server accepts overlapping CRYPTO frames containing different data at an already received offset and updates previously stored data instead of rejecting or ignoring the overlap.

Expected Behavior

RFC 9000, Section 2.2 states:

An endpoint could receive data for a stream at the same stream offset multiple times. Data that has already been received can be discarded. The data at a given offset MUST NOT change if it is sent multiple times; an endpoint MAY treat receipt of different data at the same offset within a stream as a connection error of type PROTOCOL_VIOLATION.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: CoreRelated to the shared, core protocol logic

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions