Skip to content

Size issue #4

Open
Open
@pauleffect90

Description

@pauleffect90

frame[1] |= 127;

On 32bit systems (most MCUs out there), size_t is usually 32bits wide. The referenced code could produce unexpected results. I suggest explicitly setting the variable's [data_len] length to 64bits wide.

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