Skip to content

Possible off-by-one bug in uwb_twr_tag could crash firmware on timeout #66

Description

@stefanthorstenson

If e.g. config.anchorListSize is 6, and resetting curr_anchor will occur when curr_anchor is 7, meaning that config.anchors[6] has been called, which should be one index too high (since index is zero-based).

Image

This code is run only on timeout it seems.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions