Skip to content

doRqnp in FLiM.c overflows CAN frame #14

@kkimber

Description

@kkimber

doRqnp () copies in the first 7 module params into the 7 remaining bytes of the 8 byte CAN frame after the OPC_PARAMS opcode.

It then attempts to update the 9th byte of the CAN frame with the dynamic module flags:

// update the dynamic flags
cbusMsg[d1+PAR_FLAGS-1] = getParFlags();

Parameter flags cannot be returned in an OPC_PARAMS, as a standard CAN frame isn't big enough!

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