Skip to content

Size of pointer taken for length check rather than sizeof structure. #3

@jic23

Description

@jic23

mctp/src/mctpd.c

Line 1545 in e2fe78c

expect_size = sizeof(resp) + resp->msg_type_count;

Breaks getting message types supported.
(otherwise touch wood this code works great - thanks!)

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