Skip to content

[packet] wrong buffer length checked when parsing packet #56

@bruingineer

Description

@bruingineer

There's a length check that may be checking the wrong buffer length. Need to look into more closely

let PduInfo { length, vector} = pdu_info(&data_buf, E131_FRAMING_LAYER_VECTOR_LENGTH)?;
if buf.len() < length { ... } // buf.len() should be data_buf.len()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions