Skip to content

rpmsg_virtio_get_tx_payload_buffer assumes a full header will be present #349

Open
@tammyleino

Description

@tammyleino

rpmsg_virtio_get_tx_payload_buffer assumes the payload will contain a full header and does not check whether the returned buffer size from rpmsg_virtio_get_tx_buffer is at least size of "rpmsg_hdr" structure before buffer size is decremented. Is it impossible for a bad packet to be received at this layer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions