Skip to content

mavlink_msg_statustext_get_text returns garbage when not zero terminated #1142

@julianoes

Description

@julianoes

There seems to be a bug/regression with mavlink_msg_statustext_get_text where it reads past the end of the string.

This has likely to do with the fact that the statustext.text is not required to be zero terminated.

I wonder if this has to do with the change in #922.

@DonLakeFlyer brought this up on Discord

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